GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoShape Class / Pen Property
In This Topic
    Pen Property (GoShape)
    In This Topic
    Gets or sets the pen used to draw the outline of this shape.
    Syntax
    [Category("Appearance")]
    [Description("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.
    See Also