HotXLS-documentatie

HorizontalAlignment eigenschap

Retourneert of stelt de horizontale uitlijning in voor het opgegeven object. Read/write XlHAlign

Syntaxis

eigenschap HorizontalAlignment: XlHAlign;

Beschrijving

HorizontalAlignment can be one of these XlHAlign constants
xlHAlignCenter
xlHAlignCenterAcrossSelection
xlHAlignDistributed
xlHAlignFill
xlHAlignGeneral
xlHAlignJustify
xlHAlignLeft
xlHAlignRight

Voorbeeld

This example left aligns the range A1:A5 on sheet one

Workbook.Worksheets[1].Range['A1', 'A5'].HorizontalAlignment := xlHAlignLeft;