Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

CGNewPDFDocumentMBS(file as folderitem, MediaBox as CGRectMBS, title as string, author as string, creator as string, subject as string, keywords as string, OwnerPassword as string, UserPassword as string, AllowsPrinting as boolean, AllowsCopy as boolean) as CGPDFContextMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method CoreGraphics MBS MacCG Plugin 12.0 Yes No No Yes, macOS only No
Function: Creates a PDF document.
Notes:
Title, Author, Creator, Subject and Keywords parameters can be empty.

If OwnerPassword and UserPassword are filled in the PDF is encrypted and AllowsPrinting/AllowsCopy define what the user can do after he entered his password.

The passwords must be a string which can be represented in ASCII encoding; only the first 32 bytes will be used for the password.

Requires Mac OS X to work.

See also:

Some examples using this method:

Feedback, Comments & Corrections

CGNewPDFDocumentMBS(file as folderitem, MediaBox as CGRectMBS, title as string, author as string, creator as string, subject as string, keywords as string, OwnerPassword as string, UserPassword as string, AllowsPrinting as boolean, AllowsCopy as boolean, KeyLength as Integer) as CGPDFContextMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method CoreGraphics MBS MacCG Plugin 12.0 Yes No No Yes, macOS only No
Function: Creates a PDF document.
Notes:
Title, Author, Creator, Subject and Keywords parameters can be empty.

If OwnerPassword and UserPassword are filled in the PDF is encrypted and AllowsPrinting/AllowsCopy define what the user can do after he entered his password. #

The passwords must be a string which can be represented in ASCII encoding; only the first 32 bytes will be used for the password.

Keylength must be a value between 48 bit and 128 bit in 8 bit steps. 0 uses default value.

Requires Mac OS X to work.

See also:

Some examples using this method:

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS MacCG Plugin.





Links
MBS FileMaker Plugins