Topics   All functions   Mac OS X   Windows   Crossplatform   Server   Components   Guides   Statistic  
New in version: 3.0   3.1   3.2   3.3   3.4   3.5   4.0   4.1   4.2   4.3  

PDFKit.GetPDFPagesPDF

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

MBS( "PDFKit.GetPDFPagesPDF"; PDF; Indexes; 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.
Indexes The index of the page. From zero to PageCount-1. You can use several numbers separated with comma and ranges with minus. "1,2,6-9,19"
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 of the first page 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 pages.
Filename is optional.

Examples

Extract a few pages into a new PDF

MBS( "PDFKit.GetPDFPagesPDF"; $ref; "1,2,5,6"; "newpdf.pdf" )

Feedback: Report problem or ask question.




Links
MBS Real Studio Plugins - Nachhilfe in Wassenach