GoDiagram Web Reference
DoResize Method (GoTrapezoid)

If reshapeable, ensures that the set pair of sides maintains their perpecidularity when the figure is altered
Syntax
'Declaration
 
Public Overrides Sub DoResize( _
   ByVal view As GoView, _
   ByVal origRect As RectangleF, _
   ByVal newPoint As PointF, _
   ByVal whichHandle As Integer, _
   ByVal evttype As GoInputState, _
   ByVal min As SizeF, _
   ByVal max As SizeF _
) 
public override void DoResize( 
   GoView view,
   RectangleF origRect,
   PointF newPoint,
   int whichHandle,
   GoInputState evttype,
   SizeF min,
   SizeF max
)

Parameters

view
origRect
newPoint
whichHandle
evttype
min
max
Remarks
When ResizesRealtime is true, this method always sets the corresponding point property to newPoint. Otherwise it only sets it when the evttype is GoInputState.Finish or GoInputState.Cancel.
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

GoTrapezoid Class
GoTrapezoid Members
Base Implementation in DoResize

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback