←Select platform

BackgroundColor Property

Summary

Background color.

Syntax

C#
VB
Java
C++
public RasterColor BackgroundColor { get; set; } 
Public Property BackgroundColor As Leadtools.RasterColor 
public RasterColor getBackgroundColor() 
public void setBackgroundColor(RasterColor color) 
             
public: 
property Leadtools.RasterColor BackgroundColor { 
   Leadtools.RasterColor get(); 
   void set (    Leadtools.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 19.0.2017.10.18
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.DocumentWriters Assembly