ChartExportOptions Constructor (String, ChartExportType, Int32, Int32, Nullable(Size), Brush, String, Nullable(Size), Font, Brush, Boolean)
ChartExportOptions Constructor (String, ChartExportType, Int32, Int32, Nullable Size , Brush, String, Nullable Size , Font, Brush, Boolean)Chart4.NET - Organization Charting Component (C#/VB.NET/ASP.NET) - Documentation
Onlinewww.Chart4.NET (Documentation) | OnlineSamples Download | Release Notes

Construct a ChartExportOptions object with header settings.

Namespace: UnifoChart.Hierarchy
Assembly: 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
)
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
)

Parameters

FilePath
Type: OnlineSystem 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: OnlineSystem Int32
Total width including PageMargin.
Height
Type: OnlineSystem Int32
Total height including PageMargin.
PageMargin
Type: OnlineSystem Nullable OnlineSize 
Horizontal and vertical space around the chart. To be filled by PageBrush.
PageBrush
Type: System.Drawing Brush
Page Brush
HeaderText
Type: OnlineSystem String
Header Text. Use {DATETIME} to insert current time.
HeaderMargin
Type: OnlineSystem Nullable OnlineSize 
Horizontal distance from left & Vertical distance from top of the page.
HeaderFont
Type: OnlineSystem.Drawing Font
Header Font
HeaderBrush
Type: System.Drawing Brush
Header Brush
HeaderAsWatermarkPdf
Type: OnlineSystem 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).
See Also