[]
Gets or sets a value indicating the background mode used for the border of the magnifier.
public BorderBackground BorderBackgroundMode { get; set; }
Type | Description |
---|---|
BorderBackground | One of the BorderBackground values. The default is MultiTouch.BorderBackground.Light. |
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 background mode. If property value is BorderBackground.Custom,
// user can to use BorderBackground property to set the background image.
_gcMagnifierObj.BorderBackgroundMode = BorderBackground.Dark;
}
}
Public Class GcMagnifierDemo
Inherits Form
Private _gcMagnifierObj As New GcMagnifier()
Public Sub New()
' Magnifier background mode. If property value is BorderBackground.Custom,
' user can to use BorderBackground property to set the background image.
_gcMagnifierObj.BorderBackgroundMode = BorderBackground.Dark
End Sub
End Class