Hello,
I downloaded the MBS demo and am having a horrible time getting the
MBS PDF capabilities to work.
Basically, I need to import a PDF, draw it to to the normal graphics
variable, draw some more graphic primitives to it (like text and
square, ect) and then finally print it out. However, I dont understand
all the parameters that his
plugins need.
I originally tried opening as a picture, but the quality is poor and
print speed is slow. I need it to remain a postscript image in the
graphics class to allow fast printing and high resolution.
Here is my code in a button to import a PDF and write it directly to a
graphics class. I have a global variable called globalvariable as
graphics.
dim f as folderItem
dim g as graphics
dim p as picture
dim CGOpenPDFDocumentMBS(file as folderitem) as CGPDFDocumentMBS
dim r as CGRectMBS
dim g as CGContextMBS
f = getOpenFolderItem("")
if f = nil then
return
end if
globalvariable.DrawCGImageMBS(image as CGImageMBS, r as CGRectMBS)
________________________________________________________________________
My main problem is that the syntax perplexes me. I'm sure it should be
rather simple ...
Matt
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>