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.GetPDFPagePDF

Component: PDFKit
Version: 2.2
Mac OS X: Works
Windows: Not implemented.

MBS( "PDFKit.GetPDFPagePDF"; PDF; Index; filename )

Parameters

Parameter Description Example value
PDF A container value with the PDF content from a media field. Or a text with an URL. Or a PDF reference from PDFKit.Open.
index The index of the page. From zero to PageCount-1. 1
Filename Optionally, the file name to use for the container value. "output.pdf"

Result

Returns a container with a PDF document. The plugin adds a JPEG picture for preview as well as a file name. You can store it in a media field.

Description

Creates a new PDF Document with the given PDF page.
Filename is optional.

Examples

Extract page 6 into a new PDF:

MBS( "PDFKit.GetPDFPagePDF"; $ref; 5; "newpdf.pdf" )

Feedback: Report problem or ask question.




Links
MBS Realbasic Plugins - Nachhilfe in Andernach