[]
        
(Showing Draft Content)

C1.Win.TouchToolKit.C1Magnify.ZoomFactor

ZoomFactor Property

ZoomFactor

Gets or sets a value indicating the zoom factor of the magnifier.

Declaration
[TypeConverter(typeof(o))]
public float ZoomFactor { get; set; }
Property Value
Type Description
float

A float value that represents zoom factor of the magnifier. The default is 2f.

Remarks

The scope value of this property is limited, The value cannot be less than 2f and greater than 4f.

Examples

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