[]
        
(Showing Draft Content)

C1.Win.TouchToolKit.C1Magnify.Size

Size Property

Size

Gets or sets a value indicating the size of the magnifier in pixels.

Declaration
public Size Size { get; set; }
Property Value
Type Description
Size

A Size value that represents the size of the magnifier in pixels. The default is 100,100.

Remarks

The scope of this property is limit, The value cannot be less than 1,1 and greater than 1024, 768.

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 size in pixels
		_gcMagnifierObj.Size = new Size(100, 100);
	}
}
Public Class GcMagnifierDemo
	Inherits Form
	Private _gcMagnifierObj As New GcMagnifier()

	Public Sub New()
		' Magnifier size in pixels
		_gcMagnifierObj.Size = New Size(100, 100)
	End Sub
End Class