TTMSFNCCustomPDFIO.Save Method
Exports the default export object to a PDF file.
API unit family: TMSFNCPDFIO
Declaring type: TTMSFNCCustomPDFIO
Overloads
Overload 1
Exports the default export object to a PDF file.
procedure Save(const AFileName: String); overload;
Parameters
| Name | Description |
|---|---|
AFileName |
Full path of the output PDF file. |
Overload 2
Exports the default export object to a stream as PDF.
procedure Save(const AStream: TStream); overload;
Parameters
| Name | Description |
|---|---|
AStream |
Target stream that receives the PDF bytes. |
Overload 3
Exports a single object constrained to a specific rectangle to a PDF file.
procedure Save(const AFileName: String; AExportObject: TTMSFNCPDFIOExportObject; AExportRect: TRectF); overload;
Parameters
| Name | Description |
|---|---|
AFileName |
Full path of the output PDF file. |
AExportObject |
Object to export on the page. |
AExportRect |
Bounding rectangle of the exported object in points. |
Overload 4
Exports a single object constrained to a specific rectangle to a stream as PDF.
procedure Save(const AStream: TStream; AExportObject: TTMSFNCPDFIOExportObject; AExportRect: TRectF); overload;
Parameters
| Name | Description |
|---|---|
AStream |
Target stream that receives the PDF bytes. |
AExportObject |
Object to export on the page. |
AExportRect |
Bounding rectangle of the exported object in points. |
Overload 5
Exports multiple objects, one per page, to a PDF file.
procedure Save(const AFileName: String; AExportObjects: TTMSFNCPDFIOExportObjectArray); overload;
Parameters
| Name | Description |
|---|---|
AFileName |
Full path of the output PDF file. |
AExportObjects |
Array of objects; each element is placed on a separate page. |
Overload 6
Exports multiple objects, one per page, to a stream as PDF.
procedure Save(const AStream: TStream; AExportObjects: TTMSFNCPDFIOExportObjectArray); overload;
Parameters
| Name | Description |
|---|---|
AStream |
Target stream that receives the PDF bytes. |
AExportObjects |
Array of objects; each element is placed on a separate page. |
Overload 7
Exports multiple objects with per-object rectangles to a PDF file.
procedure Save(const AFileName: String; AExportObjects: TTMSFNCPDFIOExportObjectArray; AExportRects: TTMSFNCPDFIOExportRectArray); overload;
Parameters
| Name | Description |
|---|---|
AFileName |
Full path of the output PDF file. |
AExportObjects |
Array of objects; each element is placed on a separate page. |
AExportRects |
Matching array of bounding rectangles in points; empty array uses the full page content area. |
Overload 8
Exports multiple objects with per-object rectangles to a stream as PDF.
procedure Save(const AStream: TStream; AExportObjects: TTMSFNCPDFIOExportObjectArray; AExportRects: TTMSFNCPDFIOExportRectArray); overload;
Parameters
| Name | Description |
|---|---|
AStream |
Target stream that receives the PDF bytes. |
AExportObjects |
Array of objects; each element is placed on a separate page. |
AExportRects |
Matching array of bounding rectangles in points; empty array uses the full page content area. |