Visual Basic (Declaration) | |
---|---|
Public Sub SetScaleAndPosition( _ ByVal newscale As Double, _ ByVal newpos As Point, _ ByVal animationtime As Integer, _ ByVal act As Action _ ) |
Parameters
- newscale
- the new positive
double
value for DiagramPanel.Scale - newpos
- the new
Point
value for DiagramPanel.Position - animationtime
- a time in milliseconds; if a very short time, no animation occurs and the properties are simply set
- act
- an
Action
to perform after the animation is finished; null to do nothing afterwards