Northwoods.GoSilverlight 1.2.2 Assembly
Scale Property
See Also  Send Feedback
Northwoods.GoXam Namespace > DiagramPanel Class : Scale Property

Gets or sets the scale factor at which everything is rendered.

Syntax

Visual Basic (Declaration) 
Public Property Scale As Double
C# 
public double Scale {get; set;}

Property Value

The default value is 1.0 -- one unit in model coordinates is the same size as a device-independent-pixel. Values larger than 1.0 result in parts that appear larger, as if zooming into the diagram. Values smaller than 1.0 make everything appear smaller, as if zooming out of the diagram. Any new value must be a number larger than zero.

Remarks

Changing the scale may also result in a change in Northwoods.GoXam.DiagramPanel.Position, as OnScaleChanged(Double,Double) tries to keep the diagram's parts aligned in the panel.

Requirements

See Also

© 2010 All Rights Reserved.