Gets or sets the format of page headers.
Namespace: MindFusion.Spreadsheet
Assembly: MindFusion.Spreadsheet.WinForms
SyntaxC#
Copy Code
|
|---|
public string HeaderFormat { get; set; } |
Visual Basic
Copy Code
|
|---|
Public Property HeaderFormat As String |
A string value. The default is "%D, Page %P".
RemarksThe 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. |
See Also