[]
        
(Showing Draft Content)

C1.Win.TouchToolKit.C1Magnify.BorderWidth

BorderWidth Property

BorderWidth

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

Declaration
public int BorderWidth { get; set; }
Property Value
Type Description
int

A int value that represents the border width of the magnifier in pixels. The default is 5.

Remarks

The minimum value of this property is limited, The value cannot be less than 1.

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 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