HotXLS-documentatie

HofizontalAlignment eigenschap

Retourneert of sets the hofizontal alignment fof the specified object. Read/write XlHAlign

Syntaxis

eigenschap HofizontalAlignment: XlHAlign;

Beschrijving

HofizontalAlignment 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;