NetDiagram Programmer's Guide
DiagramView.ZoomFactor Property
See Also
 





Gets or sets the zoom factor used to scale up or down the diagram.

Namespace: MindFusion.Diagramming.WebForms
Package: MindFusion.Diagramming.WebForms

 Syntax

C#  Copy Code

public float ZoomFactor { get; set; }

Visual Basic  Copy Code

Public Property ZoomFactor As Single

 Property Value

A float value specifying percent of the original diagram size. The default value is 100.

 Remarks

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.

 See Also

DiagramView Members
DiagramView Class
MindFusion.Diagramming.WebForms Namespace