I'm showing picture data from a database. While showing a pdf works with a
simple
DataPicture = Picture.FromData(data)
the resulting image doesn't have a white background. So I tried to use MBS. I
used the following code
dim thePDF as new PDFDocumentMBS(data)
dim thePDFPage as PDFPageMBS = thePDF.pageAtIndex(0)
dim theImage as NSImageMBS = thePDFPage.Render
DataPicture = theImage.CopyPicture
which is directly from the examples, except for using a memory block instead of
a file. The resulting picture is kind of black. As in black only.
Using RB2011r2, Cocoa. MBS 11.2.
Mit freundlichen Grüßen/Regards
Trixi Willius
http://www.mothsoftware.com
Mail Archiver X: The email archiving solution for professionals
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info