PdfChart.CreateChart Method

PDF File Writer

PdfChartCreateChart Method

Static method to create .NET Chart object.

Namespace:  PdfFileWriter
Assembly:  PdfFileWriter (in PdfFileWriter.dll) Version: 1.1.24.0 (1.1.24.0)
Syntax
C#
public static Chart CreateChart(
	PdfDocument Document,
	double Width,
	double Height,
	double Resolution = 0
)

Parameters

Document
Type: PdfFileWriterPdfDocument
Current document object.
Width
Type: SystemDouble
Chart width in user units.
Height
Type: SystemDouble
Chart height in user units.
Resolution (Optional)
Type: SystemDouble
Resolution in pixels per inch (optional argument).

Return Value

Type: Chart
.NET Chart object
Remarks
The returned chart has the correct width and height in pixels.
See Also