Northwoods.GoWPF 1.3.5 Assembly
SetScaleAndPosition Method
See Also  Send Feedback
Northwoods.GoXam Namespace > DiagramPanel Class : SetScaleAndPosition Method

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
Set the DiagramPanel.Scale and DiagramPanel.Position properties with animation.

Syntax

Visual Basic (Declaration) 
Public Sub SetScaleAndPosition( _
   ByVal newscale As Double, _
   ByVal newpos As Point, _
   ByVal animationtime As Integer, _
   ByVal act As Action _
) 
C# 
public void SetScaleAndPosition( 
   double newscale,
   Point newpos,
   int animationtime,
   Action act
)

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

Requirements

See Also

© 2012 All Rights Reserved.