Construct a ChartExportOptions object with header and footer settings.
            
Namespace: UnifoChart.HierarchyAssembly: UnifoChart.Hierarchy (in UnifoChart.Hierarchy.dll) Version: 5.1.0.0 (5.1.0)
Syntax
public ChartExportOptions( string FilePath, ChartExportType ExportFormat, int Width, int Height, Nullable<Size> PageMargin, Brush PageBrush, string HeaderText, Nullable<Size> HeaderMargin, Font HeaderFont, Brush HeaderBrush, bool HeaderAsWatermarkPdf, string FooterText, Nullable<Size> FooterMargin, Font FooterFont, Brush FooterBrush, bool FooterAsWatermarkPdf )
public ChartExportOptions( String FilePath, ChartExportType ExportFormat, int Width, int Height, Nullable<Size> PageMargin, Brush PageBrush, String HeaderText, Nullable<Size> HeaderMargin, Font HeaderFont, Brush HeaderBrush, boolean HeaderAsWatermarkPdf, String FooterText, Nullable<Size> FooterMargin, Font FooterFont, Brush FooterBrush, boolean FooterAsWatermarkPdf )
Parameters
- FilePath
 - Type: 
System String
If FilePath is given, the chart will be saved to that location according to the given ExportFormat; Export function will return null. If not given, the Export function returns the stream of data or a Bitmap object as the case may be. 
- ExportFormat
 - Type: UnifoChart.Hierarchy ChartExportType
PDF / JPEG / PNG / GIF / BMP 
- Width
 - Type: 
System Int32
Total width including PageMargin. 
- Height
 - Type: 
System Int32
Total height including PageMargin. 
- PageMargin
 - Type: 
System Nullable 
Size 
Horizontal and vertical space around the chart. To be filled by PageBrush. 
- PageBrush
 - Type: System.Drawing Brush
Page Brush 
- HeaderText
 - Type: 
System String
Header Text. Use {DATETIME} to insert current time. 
- HeaderMargin
 - Type: 
System Nullable 
Size 
Horizontal distance from left & Vertical distance from top of the page. 
- HeaderFont
 - Type: 
System.Drawing Font
Header Font 
- HeaderBrush
 - Type: System.Drawing Brush
Header Brush 
- HeaderAsWatermarkPdf
 - Type: 
System Boolean
For PDF export only. Whether header text should be part of the chart (watermarked) or part of the PDF document (Implication: links become clickable; text become selectable). 
- FooterText
 - Type: 
System String
Footer Text. Use {DATETIME} to insert current time. 
- FooterMargin
 - Type: 
System Nullable 
Size 
Horizontal distance from left & Vertical distance from bottom of the page. 
- FooterFont
 - Type: 
System.Drawing Font
Footer Font 
- FooterBrush
 - Type: System.Drawing Brush
Footer Brush 
- FooterAsWatermarkPdf
 - Type: 
System Boolean
For PDF export only. Whether footer text should be part of the chart (watermarked) or part of the PDF document (Implication: links become clickable; text become selectable). 
See Also