Represents the current HTML rendering settings.

The properties of this object may be used to control the way that the Doc.AddImageUrl and Doc.AddImageHtml methods work.

The methods of this object operate on objects added using the the Doc.AddImageUrl and Doc.AddImageHtml methods. Some operations change the document. Others provide information about the content which has been added.

Since ABCpdf version 8 HTML documents can be imported using different HTML engines. The current supported ones are the MSHTML engine (used in Microsoft Internet Explorer) and a modified version of Mozilla Firefox's Gecko engine tailored to work with ABCpdf. Different engines interpret HTML documents in different ways and support a different set of HTML options, please see the Engine property for details.

Method Description
GetScriptReturn Retrieves the client side onload script return value.
GetTagIDs Gets an array of the HTML IDs of tagged visible items.
GetTagRects Gets an array of the locations of tagged visible items.
LinkPages Converts external links to internal links wherever possible.
PageCacheClear Clears the HTML page cache.
PageCachePurge Purges the HTML page cache.


Property Default Description
ComFactory No The factory for creating objects in the same application domain.
Engine No The engine to use for HTML import operations.
AddForms No Whether form fields should be live.
AddLinks No Whether hyperlinks should be live.
AddMovies No Whether active content such as movies should be added.
AddTags No Whether location of certain tags should be noted.
AutoTruncate No Whether to automatically clip redundant content at the end of the page.
BrowserWidth No The width of the virtual browser in pixels.
ContentCount No The minimum number of content items required for a page to be valid.
DoMarkup No Whether HTML pages are marked up before conversion to PDF.
FontEmbed No Whether fonts should be embedded rather than referenced.
FontProtection No Whether fonts should be protected.
FontSubstitute No Whether font substitution should be used to reduce file size.
HideBackground No Whether to hide the background color of a page.
HostWebBrowser No Whether to host a WebBrowser control.
HttpAdditionalHeaders No Additional HTTP headers to send in the request.
ImageQuality No The quality of compression acceptable for continuous tone images such as JPEGs.
LogonName No A user name to be used for authentication.
LogonPassword No A password to be used for authentication.
MakeFieldNamesUnique No Whether field names should be changed to make them unique.
MaxAtomicImageSize No The maximum size at which an image may be regarded as atomic.
Media No The CSS media type to use.
NoCookie No Whether to disable automatic cookies.
OnLoadScript No A script to be run after the page is loaded.
PageCacheEnabled No Whether the page cache should be searched before rendering the page.
PageCacheExpiry No The length of time that pages can be held in the cache (ms).
PageCacheSize No The number of pages that can be held in the cache.
Paged No Whether content should be rendered in multipaged format.
PageLoadMethod No The method for loading URI/HTML.
ReloadPage No Whether to reload page.
RequestMethod No The request method for URL.
RetryCount No The number of times a page should be retried if unavailable or invalid.
TargetLinks No Whether hyperlinks should be allowed to open new windows.
Timeout No The maximum amount of time allowed for obtaining a page (ms).
TransferModule No The module for obtaining URI/HTML data.
UseActiveX No Whether to enable ActiveX.
UseJava No Whether to enable Java.
UseNoCache No Whether any proxy servers should re-request items of content.
UseResync No Whether all items of content should be re-downloaded.
UseScript No Whether to enable JavaScript and VBScript.
UseTheme No Whether to use theme or not.
UseVideo No Whether to enable video.