GoDiagram Web Reference
PaperColor Property

Gets or sets the color for this document's background.
Syntax
'Declaration
 
<DescriptionAttribute("The color of the document's background.")>
<CategoryAttribute("Appearance")>
Public Overridable Property PaperColor As Color
[DescriptionAttribute("The color of the document's background.")]
[CategoryAttribute("Appearance")]
public virtual Color PaperColor {get; set;}

Property Value

The default value is Color.Empty.
Remarks
Documents can have their own background, independent of any background color provided by a view. The normal behavior is that a view will use the document's PaperColor property when that color is not Color.Empty, but will otherwise use the view's BackColor property. However, there may be times when both or neither color is used in a rendering of the document.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoDocument Class
GoDocument Members
PaintPaperColor Method

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback