ChartDirector 7.1 (C++ Edition)

MultiPagePDF.addPage


Usage

void addPage(BaseChart* c);

Description

Adds a BaseChart object as a PDF page.

You can use BaseChart.setOutputOptions to configure the PDF page options, such as the page size, margins, etc.

MultiPagePDF will immediately generate the PDF page using the BaseChart object. You can immediately delete the BaseChart object after calling this method. That means you do not need to keep a lot of BaseChart objects in memory even if the PDF has a lot of pages.

Arguments

ArgumentDefaultDescription
c(Mandatory)The BaseChart object used to create the PDF page.

Return Value

None