Gets or sets the format of page headers.
Namespace: MindFusion.Spreadsheet
Assembly: MindFusion.Spreadsheet.WinForms
C#
![]() |
---|
public string HeaderFormat { get; set; } |
Visual Basic
![]() |
---|
Public Property HeaderFormat As String |
A string value. The default is "%D, Page %P".
The following table displays the special formatting sequences that can be included in the HeaderFormat string and their meaning.
Format sequence | Meaning |
---|---|
%D | A placeholder for the DocumentName. |
%W | A placeholder for the name of the currently printed worksheet, as specified by Worksheet.Name. |
%P | A placeholder for the number of the currently printed page. |
MindFusion.Spreadsheet Programmer's Guide | © 2025 MindFusion |