←Select platform

UseBackgroundColor Property

Summary

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

Syntax

C#
VB
Java
C++
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.DocumentWriters Assembly