Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

PDFPageMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class PDFKit MBS MacControls Plugin 7.6 Yes No No Yes, macOS only No
Function: The PDFKit class for a page in a pdf document.
Example:
dim file1,file2,file3,destfile as FolderItem
dim page1,page2,page3 as PDFPageMBS
dim doc1,doc2 as PDFDocumentMBS
dim img as NSImageMBS
dim doc as PDFDocumentMBS

file1=SpecialFolder.Desktop.Child("test1.pdf")
file2=SpecialFolder.Desktop.Child("test2.pdf")
file3=SpecialFolder.Desktop.Child("logo.jpg")

doc1=new PDFDocumentMBS(file1)
doc2=new PDFDocumentMBS(file2)

MsgBox str(doc1.pageCount)

img=new NSImageMBS(file3)

Backdrop=img.CopyPicture

page1=new PDFPageMBS(img)
page2=doc1.pageAtIndex(0)
page3=doc2.pageAtIndex(0)

doc=new PDFDocumentMBS
doc.insertPage page1,0
doc.insertPage page2,1
doc.insertPage page3,2

destfile=SpecialFolder.Desktop.Child("test.pdf")
call doc.write(destfile)

Feedback, Comments & Corrections

This class has no sub classes.

Some methods using this class:

Some properties using for this class:

Some events for this class:

Some examples which use this class:


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


PDFOutlineMBS   -   PDFSelectionMBS




Links
MBS FileMaker Plugins