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

TdxSpreadSheetTableViewOptionsPrintHeaderFooter.AlignWithMargins Property

Specifies whether the content of the left and right sections in all headers and footers aligns with the left and right margins of a source worksheet printout page.

#Declaration

Delphi
property AlignWithMargins: TdxDefaultBoolean read; write; default bDefault;

#Property Value

Type Default
TdxDefaultBoolean bDefault

#Remarks

Set this property to bFalse to center the content in all sections of headers and footers in all worksheet printout pages. If the AlignWithMargins property is set to bDefault or bTrue, the report link aligns the left and right sections in each header and footer to the left and right margins of a worksheet.

Call the ActualScaleWithDocument function to identify whether the header/footer fonts scale automatically.

Note

The worksheet print setting corresponding to the AlignWithMargins property can persist only in XLSX and XLTX spreadsheet document files.

The default AlignWithMargins property value is bDefault.

See Also