←Select platform

BackgroundColor Property

Summary

Background color.

Syntax
C#
VB
C++
Java
public RasterColor BackgroundColor { get; set; } 
Public Property BackgroundColor As RasterColor 
public RasterColor getBackgroundColor() 
public void setBackgroundColor(RasterColor color) 
public: 
property RasterColor BackgroundColor { 
   RasterColor get(); 
   void set (    RasterColor ); 
} 

Property Value

A RasterColor structure that contains the background color to use in the final HTML document. Default value is "White".

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