←Select platform

UseBackgroundColor Property

Summary

Indicates whether the HTML document will use the a background color or not.

Syntax
C#
VB
C++
Java
public bool UseBackgroundColor { get; set; } 
Public Property UseBackgroundColor As Boolean 
public boolean getUseBackgroundColor() 
public void setUseBackgroundColor(boolean useBackgroundColor) 
public: 
property bool UseBackgroundColor { 
   bool get(); 
   void set (    bool ); 
} 

Property Value

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

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.

Example

For an example, refer to HtmlDocumentOptions.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Writer Assembly