Skip to main content

TdxSpreadSheetTableViewOptionsPrintHeaderFooterText.CenterSection Property

Specifies a text string in the center section of a worksheet printout page’s header or footer.

Declaration

property CenterSection: string index 1 read; write;

Property Value

Type
string

Remarks

Use this property to add, modify, or remove a text string that the centered section of a page header or footer displays.

To add or customize the content in the left- and right-aligned sections within the same header or footer, use the LeftSection and RightSection properties. You can insert the &P, &N, &D, &T, and &A escape sequences to display the current page number, the total page count, the current date, time, and source worksheet’s name as a part of your inscription, respectively. Type the ampersand (&) character twice to show it in text.

Call the Reset procedure to remove all inscriptions from a single printout page header or footer.

The default CenterSection property value is an empty string.

See Also