Visual Basic (Declaration) | |
---|---|
Public Property BackgroundColor As Color |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public Color BackgroundColor {get; set;} |
Return Value
A Color structure that contains the background color to use in the final HTML document. Default value is "White".For an example, refer to HtmlDocumentOptions.
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.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family