Meet us at at Real World in Orlando, Florida.
All functions
Mac OS X
Windows
Crossplatform
Components
Guides
New in version:
2.0
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
PDFKit.CombineRef
Component: PDFKit
Version: 2.3
Mac OS X: Works
Windows: Not implemented.
MBS( "PDFKit.CombineRef"; Name; PDFs )
Parameters
| Parameter | Description | Example value |
|---|---|---|
| Name | A text with the file name to include with the PDF. | "test.pdf" |
| PDFs | Several PDF references. A container value with the PDF content from a media field. Or a text with an URL. Or a PDF reference from PDFKit.Open. |
Result
Returns the PDF reference.
Description
Creates a new PDF document with all the given PDF files/references and returns the new PDF reference.You can pass container values, URLs or PDF references. You can pass one PDF reference to save to a new PDF.
Please note the difference between PDFKit.Combine and PDFKit.CombineRef. Combine returns a new container value with the new PDF. CombineRef returns the new PDF reference for further processing.
If on combining one of the PDF parameters is not a valid PDF, the function returns an error. You can use PDFKit.SetIgnoreCombineErrors to disable that and ignore all PDFs which fail to open. For example if you write code which takes 4 container values and not all of them contain PDF files.
Examples
Combine the PDF files in the three PDF references into a new PDF reference:
MBS("PDFKit.CombineRef"; ""; $ref1; $ref2; $ref3)
Feedback: Report problem or ask question.
Links
MBS Realbasic PDF Plugins - Pfarrgemeinde Ministranten Nickenich