GoDiagram Web Reference
Pen Property

Gets or sets the pen used to draw the outline of this shape.
Syntax
'Declaration
 
<CategoryAttribute("Appearance")>
<DescriptionAttribute("The pen used to draw the outline of this shape.")>
Public Overridable Property Pen As Pen
[CategoryAttribute("Appearance")]
[DescriptionAttribute("The pen used to draw the outline of this shape.")]
public virtual Pen Pen {get; set;}

Property Value

The Pen value may be null, in which case no outline is drawn. This value defaults to Pens.Black.
Remarks
You must not modify the pen after you have assigned it. It is common to use the predefined brushes that are members of the Pens class. Currently serialization is limited to standard pens.
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

GoShape Class
GoShape Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback