GoXam for WPF v3
SetScaleAndPosition Method
Northwoods.GoXam Namespace > DiagramPanel Class : SetScaleAndPosition Method
the new positive double value for Scale
the new Point value for Position
a time in milliseconds; if a very short time, no animation occurs and the properties are simply set
an Action to perform after the animation is finished; null to do nothing afterwards
Set the Scale and Position properties with animation.
Syntax
public void SetScaleAndPosition( 
   double newscale,
   Point newpos,
   int animationtime,
   Action act
)

Parameters

newscale
the new positive double value for Scale
newpos
the new Point value for 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
See Also

Reference

DiagramPanel Class
DiagramPanel Members