Documentazione HotXLS

VerticalAlignment proprietà

Restituisce o sets the vertical alignment of the specified range. Read/write XlVAlign

Sintassi

proprietà VerticalAlignment: XlVAlign;

Descrizione

VerticalAlignment can be one of these XlVAlign constants
xlVAlignBottom
xlVAlignCenter
xlVAlignDistributed
xlVAlignJustify
xlVAlignTop

Esempio

This example centers the contents of the row two vertically

Workbook.Worksheets[1].Range['A2', 'A2'].EntireRow.VerticalAlignment := xlVAlignCenter;