Skip to main content

TdxSpreadSheetTableViewOptionsPrintPrinting.HorizontalCentered Property

Specifies if a particular Table View worksheet’s content is centered horizontally within the content area of printout pages.

Declaration

property HorizontalCentered: TdxDefaultBoolean read; write; default bDefault;

Property Value

Type Default
TdxDefaultBoolean bDefault

Remarks

Set this property to bTrue to center the worksheet content horizontally in the page printouts. If the HorizontalCentered property is set to bFalse, the content’s left border is explicitly aligned to the left border of a page’s content area.

The bDefault value corresponds to the default horizontal content alignment in the current spreadsheet document format.

You can use the ActualHorizontalCentered property to identify if a worksheet’s content is horizontally centered in printout pages.

Note

The HorizontalCentered property value has a visual effect only for those printout pages whose content area is wider than the corresponding portion of a worksheet’s printed area.

The default HorizontalCentered property value is bDefault.

See Also