WorksheetHeaderFooter.FromString(String) Method
Specifies the text for the header or footer.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v24.2.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
Declaration
Parameters
Name | Type | Description |
---|---|---|
value | String | A string that specifies left-aligned, centered and right-aligned text. |
Remarks
Use the “&L” symbol pair to specify left-aligned text, the “&C” symbol pair to specify centered text and the “&R” symbol pair to specify right-aligned text. You can also insert special symbols and fields using the HeaderFooterCode class properties.
The string
“&LLEFT&CCENTER&RPage “ + HeaderFooterCode.PageNumber
results in the following printout:
See Also