Northwoods.GoWPF 2.2.4 Assembly
Scale Property (DiagramPanel)

Gets or sets the scale factor at which everything is rendered.
Syntax
Public Property Scale As Double
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 Position, as OnScaleChanged(Double,Double) tries to keep the diagram's parts aligned in the panel.
Requirements
See Also

Reference

DiagramPanel Class
DiagramPanel Members

 

 


© Northwoods Software 2017. All Rights Reserved.

Send Feedback