[]
Gets or sets a value indicating the border width of the magnifier in pixels.
public int BorderWidth { get; set; }
Type | Description |
---|---|
int | A int value that represents the border width of the magnifier in pixels. The default is 5. |
The minimum value of this property is limited, The value cannot be less than 1.
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 border width in pixels
_gcMagnifierObj.BorderWidth = 10;
}
}
Public Class GcMagnifierDemo
Inherits Form
Private _gcMagnifierObj As New GcMagnifier()
Public Sub New()
' Magnifier border width in pixels
_gcMagnifierObj.BorderWidth = 10
End Sub
End Class