Chart.ToPdf

ToPdf(string)

Saves the chart to a pdf file.

public void ToPdf(string fileName)
ParameterTypeDescription
fileNameStringthe pdf file name with full path

See Also


ToPdf(string, float, float, PageLayoutAlignmentType, PageLayoutAlignmentType)

Saves the chart to a pdf file.

public void ToPdf(string fileName, float desiredPageWidth, float desiredPageHeight, 
    PageLayoutAlignmentType hAlignmentType, PageLayoutAlignmentType vAlignmentType)
ParameterTypeDescription
fileNameStringthe pdf file name with full path
desiredPageWidthSingleThe desired page width in inches.
desiredPageHeightSingleThe desired page height in inches.
hAlignmentTypePageLayoutAlignmentTypeThe chart horizontal alignment type in the output page.
vAlignmentTypePageLayoutAlignmentTypeThe chart vertical alignment type in the output page.

See Also


ToPdf(Stream)

Creates the chart pdf and saves it to a stream.

public void ToPdf(Stream stream)
ParameterTypeDescription
streamStreamThe output stream.

See Also


ToPdf(Stream, float, float, PageLayoutAlignmentType, PageLayoutAlignmentType)

Creates the chart pdf and saves it to a stream.

public void ToPdf(Stream stream, float desiredPageWidth, float desiredPageHeight, 
    PageLayoutAlignmentType hAlignmentType, PageLayoutAlignmentType vAlignmentType)
ParameterTypeDescription
streamStreamThe output stream.
desiredPageWidthSingleThe desired page width in inches.
desiredPageHeightSingleThe desired page height in inches.
hAlignmentTypePageLayoutAlignmentTypeThe chart horizontal alignment type in the output page.
vAlignmentTypePageLayoutAlignmentTypeThe chart vertical alignment type in the output page.

See Also