Specifies the format of page headers.
Namespace: MindFusion.Diagramming.WinForms
Assembly: MindFusion.Diagramming.WinForms
C# Copy Code |
---|
public string HeaderFormat { get; set; } |
Visual Basic Copy Code |
---|
Public Property HeaderFormat As String |
A string value specifying the name of the printed document. The default is "%D , Page %P".
The header format string can contain fixed text and format specifiers. Currently, there are three format specifiers supported:
To get page headers of the form "Page 21 of document MyChart.fc", use code like this:
C# Copy Code |
---|
diagramView.PrintOptions.HeaderFormat = "Page %P of document %D"; |
Visual Basic Copy Code |
---|
diagramView.PrintOptions.HeaderFormat = "Page %P of document %D" |