[]
Gets or sets a value indicating the zoom factor of the magnifier.
[TypeConverter(typeof(m))]
public float ZoomFactor { get; set; }
Type | Description |
---|---|
float | A float value that represents zoom factor of the magnifier. The default is 2f. |
The scope value of this property is limited, The value cannot be less than 2f and greater than 4f.
The following code example shows how to use this property.
This code example is part of a larger example provided for the C1Magnify class.
public class GcMagnifierDemo : Form
{
private GcMagnifier _gcMagnifierObj = new GcMagnifier();
public GcMagnifierDemo()
{
// Magnifier zoom factor
_gcMagnifierObj.ZoomFactor = 2f;
}
}
Public Class GcMagnifierDemo
Inherits Form
Private _gcMagnifierObj As New GcMagnifier()
Public Sub New()
' Magnifier zoom factor
_gcMagnifierObj.ZoomFactor = 2.0F
End Sub
End Class