GoDiagram Win Reference
SetPenPart Method

a Pen; if null, this will construct a new Pen using the new property value
a GoPropertyModifierArgs
the new Pen property value
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
'Declaration
 
Protected Overridable Function SetPenPart( _
   ByVal p As Pen, _
   ByVal e As GoPropertyModifierArgs, _
   ByVal newval As Object _
) As Pen
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.
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

GoPropertyModifier Class
GoPropertyModifier Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback