Platforms to show: All Mac Windows Linux Cross-Platform

Back to HTMLViewer class.

HTMLViewer.IEDrawToHDCMBS(HDC as Ptr, PrinterName as string = "") as boolean   Deprecated

Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 12.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
This item is deprecated and should no longer be used. You can use methods in IEDocumentMBS class instead.
Draws the content of the html document into the graphics context.

As of Windows Internet Explorer 9, this method is deprecated and should not be used.
Returns true on success and false on failure.

With some printers, running DrawToDC may cause problems. You can ensure that DrawToDC works properly on all printers by running SetDocumentPrinter method first, and then passing the modified device context to DrawToDC. The plugin calls SetDocumentPrinter for you when you provide a printer name.

Some examples using this method:

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


The biggest plugin in space...