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 |
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.
Argument | Default | Description |
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 |
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.
Argument | Default | Description |
d | (Mandatory) | The DrawArea object used to create the PDF page. |
See also:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ChartDirector | MBS ChartDirector Plugin | 21.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
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 |
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 |
Argument | Default | Description |
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 |
Argument | Default | Description |
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.