Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
Statistic
FMM
Blog
Adds new page to the PDF with given image.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 6.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
The PDF reference returned from DynaPDF.New. | |||
Image Container | The container with the image to insert. | ||
Resolution | The resolution to use. Normally we use the ones in the images, but you can overwrite it here. |
300 | Optional |
Returns OK or error.
Create PDF with an image:
Set Variable [$pdf; Value:MBS("DynaPDF.New")]
# new page with container image
Set Variable [$r; Value:MBS( "DynaPDF.AppendImagePage"; $pdf; Create Text::test)]
#Render one page as Picture
Set Variable [$PDFData; Value:MBS("DynaPDF.Save"; $pdf; "hello.pdf")]
# cleanup
Set Variable [$r; Value:MBS("DynaPDF.Release"; $pdf)]
#Put in Container
Set Field [Create Text::PDF; $PDFData]
Created 27th June 2016, last changed 27th June 2016
DynaPDF.AllowPageBreak - DynaPDF.AppendImagePages
Feedback: Report problem or ask question.