Skip to main content

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

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