Fast PDF viewer in a window

What’s wrong with PDFDocumentMBS? I only need the first page, but it should be possible to do all pages. There is also a parameter for the quality:

dim thePDF as new PDFDocumentMBS(data) if thePDF <> nil then dim thePDFPage as PDFPageMBS = thePDF.pageAtIndex(0) dim theColor as NSColorMBS = NSColorMBS.whiteColor if thePDFPage <> nil then dim theImage as NSImageMBS = thePDFPage.Render(72.0, 0, theColor) if theImage <> nil then DataPicture = theImage.CopyPicture end if end if

Ah. I didn’t know about this :smiley:

EDIT: I see this seems to be mac-only.

Incidentally, the actual thing this was so sorely needed from suddenly became so much less important when I temporarily gave them a drag and drop that uses PDFStamp behind the scenes to mix the PDFs with the images. Since it has no graphical mode I gave it a sort of terminal-style look and it seems the users like feeling like they’re in the matrix so they’re OK for the time being.

Yes, we’ve come full circle and something looking like an old command-line now is “cool” for end users. What can you do? :smiley: