Chart.ToPdf
Contents
[
Hide
]ToPdf(string)
Saves the chart to a pdf file.
public void ToPdf(string fileName)
Parameter | Type | Description |
---|---|---|
fileName | String | the pdf file name with full path |
See Also
- class Chart
- namespace Aspose.Cells.Charts
- assembly Aspose.Cells
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)
Parameter | Type | Description |
---|---|---|
fileName | String | the pdf file name with full path |
desiredPageWidth | Single | The desired page width in inches. |
desiredPageHeight | Single | The desired page height in inches. |
hAlignmentType | PageLayoutAlignmentType | The chart horizontal alignment type in the output page. |
vAlignmentType | PageLayoutAlignmentType | The chart vertical alignment type in the output page. |
See Also
- enum PageLayoutAlignmentType
- class Chart
- namespace Aspose.Cells.Charts
- assembly Aspose.Cells
ToPdf(Stream)
Creates the chart pdf and saves it to a stream.
public void ToPdf(Stream stream)
Parameter | Type | Description |
---|---|---|
stream | Stream | The output stream. |
See Also
- class Chart
- namespace Aspose.Cells.Charts
- assembly Aspose.Cells
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)
Parameter | Type | Description |
---|---|---|
stream | Stream | The output stream. |
desiredPageWidth | Single | The desired page width in inches. |
desiredPageHeight | Single | The desired page height in inches. |
hAlignmentType | PageLayoutAlignmentType | The chart horizontal alignment type in the output page. |
vAlignmentType | PageLayoutAlignmentType | The chart vertical alignment type in the output page. |
See Also
- enum PageLayoutAlignmentType
- class Chart
- namespace Aspose.Cells.Charts
- assembly Aspose.Cells