Platforms to show: All Mac Windows Linux Cross-Platform

Back to CDMultiPagePDFMBS class.

CDMultiPagePDFMBS.addPage(chart as CDBaseChartMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
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.

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

See also:

CDMultiPagePDFMBS.addPage(DrawArea as CDDrawAreaMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Adds a DrawArea object as a PDF page.

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

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

ArgumentDefaultDescription
d(Mandatory)The DrawArea object used to create the PDF page.

See also:

CDMultiPagePDFMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Creates a MultiPagePDF object.

CDMultiPagePDFMBS.outPDF as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Outputs the PDF document in memory.

Returns a memory block containing the PDF document.

See also:

CDMultiPagePDFMBS.outPDF(file as FolderItem) as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Outputs the PDF document as a file.

ArgumentDefaultDescription
filename(Mandatory)The filename of the PDF file.

A true value indicates no error. A false value indicates the operation is unsuccessful.

See also:

CDMultiPagePDFMBS.outPDF(path as String) as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Outputs the PDF document as a file.

ArgumentDefaultDescription
filename(Mandatory)The filename of the PDF file.

A true value indicates no error. A false value indicates the operation is unsuccessful.

See also:

The items on this page are in the following plugins: MBS ChartDirector Plugin.


The biggest plugin in space...