Search
WorkbookPrinter.HeaderFormat Property
See Also
 






Gets or sets the format of page headers.

Namespace: MindFusion.Spreadsheet
Assembly: MindFusion.Spreadsheet.WinForms

 Syntax

C#  Copy Code

public string HeaderFormat { get; set; }

Visual Basic  Copy Code

Public Property HeaderFormat As String

 Property Value

A string value. The default is "%D, Page %P".

 Remarks

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.

 See Also