LEADTOOLS Forms (Leadtools.Forms.DocumentWriters assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
BackgroundColor Property
See Also 
Leadtools.Forms.DocumentWriters Namespace > HtmlDocumentOptions Class : BackgroundColor Property



The BackgroundColor Property is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.

Gets or sets the value of the background color.

Syntax

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

Property Value

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

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 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

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