GoDigram for .NET Framework and .NET Core
Northwoods.Go.Draw Namespace / GoPropertyModifier Class / SetPenPart Method
a Pen; if null, this will construct a new Pen using the new property value
a GoPropertyModifierArgs
the new Pen property value
In This Topic
    SetPenPart Method
    In This Topic
    This constructs and returns a new Pen using the properties of the given Pen p with the particular property specified by e set to the value newval.
    Syntax
    protected virtual Pen SetPenPart( 
       Pen p,
       GoPropertyModifierArgs e,
       object newval
    )

    Parameters

    p
    a Pen; if null, this will construct a new Pen using the new property value
    e
    a GoPropertyModifierArgs
    newval
    the new Pen property value

    Return Value

    a new Pen
    Remarks
    Typically this is just called by ModifyProperty(GoPropertyModifierArgs,Object). You will want to override this if you want to handle additional pen properties beyond those enumerated by GoPropertyModifierPart.
    See Also