TdxSpreadSheetTableViewOptionsPrintHeaderFooter.ScaleWithDocument Property
Specifies whether the content of all headers and footers updates its font size according to cell font size changes in a source worksheet.
Declaration
property ScaleWithDocument: TdxDefaultBoolean read; write; default bDefault;
Property Value
Type | Default |
---|---|
TdxDefaultBoolean | bDefault |
Remarks
Set this property to bFalse to disable automatic header and footer font scaling in response to cell font changes. If the ScaleWithDocument property is set to bDefault or bTrue, the report link applies the multiplier, corresponding to the last cell font change, to the font that is used to display the header and footer content.
Call the ActualScaleWithDocument function to identify whether the header/footer fonts scale automatically.
Note
The worksheet print setting corresponding to the ScaleWithDocument property can persist only in XLSX and XLTX spreadsheet document files.
The default ScaleWithDocument property value is bDefault.