Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

NSEPSImageRepMBS.pdfImage as NSPDFImageRepMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Drawing MBS MacBase Plugin 18.1 Yes No No Yes, macOS only No
Function: The PDF representation of the image.
Example:
dim f as FolderItem = SpecialFolder.Desktop.Child("logo_new.eps")

// read in as image
dim image as new nsimageMBS(f)

// get represenations
dim reps() as NSImageRepMBS = image.representations

// get EPS representation
dim rep as NSEPSImageRepMBS = NSEPSImageRepMBS(Reps(0))

// get PDF representation
dim pdf as NSPDFImageRepMBS = rep.pdfImage

Break
Notes:
When you load an EPS file, a PDF file is automatically created.
(Read only property)

Feedback, Comments & Corrections

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




Links
MBS Xojo Plugins