Leadtools.Forms.DocumentWriters Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
UseBackgroundColor Property
See Also 
Leadtools.Forms.DocumentWriters Namespace > HtmlDocumentOptions Class : UseBackgroundColor Property



Gets or sets a value indicating whether the HTML document will use the a background color or not.

Syntax

Visual Basic (Declaration) 
Public Property UseBackgroundColor As Boolean
Visual Basic (Usage)Copy Code
Dim instance As HtmlDocumentOptions
Dim value As Boolean
 
instance.UseBackgroundColor = value
 
value = instance.UseBackgroundColor
C# 
public bool UseBackgroundColor {get; set;}
C++/CLI 
public:
property bool UseBackgroundColor {
   bool get();
   void set (bool value);
}

Return Value

true to use the background color in the HTML document; otherwise it is false.

Example

For an example, refer to HtmlDocumentOptions.

Remarks

The HTML format supports adding a background color to the final document. To use a background color, set the value of the UseBackgroundColor property to true and set the color value required in the BackgroundColor property.

If the value of the UseBackgroundColor property is false, then the final document will not contain a background color and the value of the BackgroundColor property will not be used when creating the HTML document.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Forms.DocumentWriters requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features