www.Chart4.NET (Documentation) |
Samples Download | Release Notes
Export the chart to PDF format and save to a file. If FilePath given is empty, the stream is returned, else returns a null.
Namespace: UnifoChart.HierarchyAssembly: UnifoChart.Hierarchy (in UnifoChart.Hierarchy.dll) Version: 5.1.0.0 (5.1.0)
public MemoryStream ExportChartToPdfFile(
string FilePath,
int Width,
int Height
)
public MemoryStream ExportChartToPdfFile(
string FilePath,
int Width,
int Height
)
Public Function ExportChartToPdfFile ( _
FilePath As String, _
Width As Integer, _
Height As Integer _
) As MemoryStream
Public Function ExportChartToPdfFile ( _
FilePath As String, _
Width As Integer, _
Height As Integer _
) As MemoryStream
public:
MemoryStream^ ExportChartToPdfFile(
String^ FilePath,
int Width,
int Height
)
public:
MemoryStream^ ExportChartToPdfFile(
String^ FilePath,
int Width,
int Height
)
member ExportChartToPdfFile :
FilePath : string *
Width : int *
Height : int -> MemoryStream
member ExportChartToPdfFile :
FilePath : string *
Width : int *
Height : int -> MemoryStream
public MemoryStream ExportChartToPdfFile(
String FilePath,
int Width,
int Height
)
public MemoryStream ExportChartToPdfFile(
String FilePath,
int Width,
int Height
)
Parameters
- FilePath
- Type:
System String
Filename including the path of the file
- Width
- Type:
System Int32
Width of the resultant PDF page
- Height
- Type:
System Int32
Height of the resultant PDF page
Return Value
Returns null if FilePath is given, the stream otherwise.