[]
Gets or sets a value indicating the background image used for the border of the magnifier.
public Image BorderBackground { get; set; }
Type | Description |
---|---|
Image | A Image value that represents the background image used for the magnifier. The default is null. |
This property only take effect when BorderBackgroundMode property value is BorderBackground.Custom.
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