Aspose::Cells::Charts::Chart::ToPdf method

Chart::ToPdf(const U16String&) method

Saves the chart to a pdf file.

void Aspose::Cells::Charts::Chart::ToPdf(const U16String &fileName)
ParameterTypeDescription
fileNameconst U16String&the pdf file name with full path

See Also

Chart::ToPdf(const char16_t*) method

Saves the chart to a pdf file.

void Aspose::Cells::Charts::Chart::ToPdf(const char16_t *fileName)
ParameterTypeDescription
fileNameconst char16_t*the pdf file name with full path

See Also

Chart::ToPdf(const U16String&, float, float, PageLayoutAlignmentType, PageLayoutAlignmentType) method

Saves the chart to a pdf file.

void Aspose::Cells::Charts::Chart::ToPdf(const U16String &fileName, float desiredPageWidth, float desiredPageHeight, PageLayoutAlignmentType hAlignmentType, PageLayoutAlignmentType vAlignmentType)
ParameterTypeDescription
fileNameconst U16String&the pdf file name with full path
desiredPageWidthfloatThe desired page width in inches.
desiredPageHeightfloatThe 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

Chart::ToPdf(const char16_t*, float, float, PageLayoutAlignmentType, PageLayoutAlignmentType) method

Saves the chart to a pdf file.

void Aspose::Cells::Charts::Chart::ToPdf(const char16_t *fileName, float desiredPageWidth, float desiredPageHeight, PageLayoutAlignmentType hAlignmentType, PageLayoutAlignmentType vAlignmentType)
ParameterTypeDescription
fileNameconst char16_t*the pdf file name with full path
desiredPageWidthfloatThe desired page width in inches.
desiredPageHeightfloatThe 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

Chart::ToPdf() method

Creates the chart pdf and saves it to a stream.

Vector<uint8_t> Aspose::Cells::Charts::Chart::ToPdf()
ParameterTypeDescription

See Also

Chart::ToPdf(float, float, PageLayoutAlignmentType, PageLayoutAlignmentType) method

Creates the chart pdf and saves it to a stream.

Vector<uint8_t> Aspose::Cells::Charts::Chart::ToPdf(float desiredPageWidth, float desiredPageHeight, PageLayoutAlignmentType hAlignmentType, PageLayoutAlignmentType vAlignmentType)
ParameterTypeDescription
streamfloatThe output stream.
desiredPageWidthfloatThe desired page width in inches.
desiredPageHeightPageLayoutAlignmentTypeThe desired page height in inches.
hAlignmentTypePageLayoutAlignmentTypeThe chart horizontal alignment type in the output page.

See Also