[]
Gets or sets a value indicating the size of the magnifier in pixels.
public Size Size { get; set; }
Type | Description |
---|---|
Size | A Size value that represents the size of the magnifier in pixels. The default is 100,100. |
The scope of this property is limit, The value cannot be less than 1,1 and greater than 1024, 768.
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