Type Default Value Read Only Description
Boolean False No Whether to hide the background color of a page.

 

   

Notes
 

Whether to to hide the background color of an HTML page.

This can be useful for making HTML pages with transparent backgrounds.

Note that the background color is not the same as a background image or tiled image. This property operates on background colors only.

 

   

Example
 

The following example shows the effect that this parameter has on HTML rendering.

Set theDoc = Server.CreateObject("ABCpdf13.Doc")
theURL = "http://www.usa.gov/"
' Add some content
theDoc.Color.String = "0 255 255" ' light blue
theDoc.FillRect 200, 200
' Hide the background of the HTML page so content shows through
theDoc.HtmlOptions.HideBackground = True
theDoc.AddImageUrl theURL
' Save the document
theDoc.Save "c:\mypdfs\HtmlOptionsHideBackground.pdf"
theDoc.Clear


HtmlOptionsHideBackground.pdf