Gets or sets the zoom factor used to scale up or down the diagram.
Namespace: MindFusion.Diagramming.WebForms
Package: MindFusion.Diagramming.WebForms
C# Copy Code |
---|
public float ZoomFactor { get; set; } |
Visual Basic Copy Code |
---|
Public Property ZoomFactor As Single |
A float value specifying percent of the original diagram size. The default value is 100.
Use the property to set how far the diagram items should look. Values smaller than 100 make objects appear further, bigger than 100 - nearer. Default value is 100, specifying that no scaling transformation is applied.
To get proper scaling of items text, the Unit property of the fonts used must be set to GraphicsUnit.World.