Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxSpreadSheetTableViewOptionsPrintPrinting.HorizontalCentered Property

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

#Declaration

Delphi
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