Picture from HTMLViewer
Well, on Windows this is easy as we have only one function there: HTMLViewer.IEImageMBS as picture. This gives you an image. We recommend you resize htmlviewer to IEScrollHeightMBS/IEScrollWidthMBS to have the whole page visible.
On Mac we have more options:
- HTMLViewer.RenderDocumentToEPSMBS as Memoryblock
- HTMLViewer.RenderDocumentToPDFMBS as Memoryblock HTMLViewer.RenderEPSMBS as Memoryblock
- HTMLViewer.RenderPDFMBS as Memoryblock
- HTMLViewer.RenderWebsiteImageMBS(ResolutionScale as double = 1.0) as NSImageMBS
- HTMLViewer.PrintDialogMBS(sheetTarget as window=nil, PDFFile as folderitem=nil) as boolean
- HTMLViewer.PrintDialogVisibleMBS as boolean
- HTMLViewer.PrintingEndMBS
- HTMLViewer.PrintingPageMBS(index as UInt32) as Memoryblock
- HTMLViewer.PrintingStartMBS(width as double, height as double) as integer
- HTMLViewer.PrintMBS(PDFFile as folderitem=nil) as boolean
- HTMLViewer.PrintToPDFFileMBS(PDFFile as folderitem, LeftMargin as double = 50.0, TopMargin as double = 50.0, RightMargin as double = 50.0, BottomMargin as double = 50.0) as boolean
- WebViewMBS.RenderDocumentToEPS as Memoryblock
- WebViewMBS.RenderDocumentToPDF as Memoryblock
- WebViewMBS.RenderWebsiteImage as NSImageMBS
- WebViewMBS.RenderImage(subviews as boolean=false) as variant
- WebViewMBS.PrintToPDFFile(PDFFile as folderitem, LeftMargin as double = 50.0, TopMargin as double = 50.0, RightMargin as double = 50.0, BottomMargin as double = 50.0) as boolean
- method dataWithEPSInsideRect(left as double, top as double, width as double, height as double) as Memoryblock
- method dataWithPDFInsideRect(left as double, top as double, width as double, height as double) as Memoryblock