Visual Basic (Declaration) | |
---|---|
Public Overridable Property Shape As RasterMagnifyGlassShape |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As RasterMagnifyGlass Dim value As RasterMagnifyGlassShape instance.Shape = value value = instance.Shape |
C# | |
---|---|
public virtual RasterMagnifyGlassShape Shape {get; set;} |
C++/CLI | |
---|---|
public: virtual property RasterMagnifyGlassShape Shape { RasterMagnifyGlassShape get(); void set ( RasterMagnifyGlassShape value); } |
Property Value
The shape of the Magnifying Glass.Refer to RasterMagnifyGlass example.
Using the RasterMagnifyGlass.Border3DStyle, the RasterMagnifyGlass.BorderWidth, the RasterMagnifyGlass.BorderColor, and the RasterMagnifyGlass.RoundRectangleEllipseSize properties depends on the value of this property.
- if it set to RasterMagnifyGlassShape.None : none of the above will be used.
- if it set to RasterMagnifyGlassShape.Border3D : only the RasterMagnifyGlass.Border3DStyle property will be use.
- if it set to RasterMagnifyGlassShape.Rectangle or set to RasterMagnifyGlassShape.Ellipse: only the RasterMagnifyGlass.BorderWidth, and the RasterMagnifyGlass.BorderColor properties will be used.
- if it set to RasterMagnifyGlassShape.RoundRectangle : the RasterMagnifyGlass.BorderWidth, the RasterMagnifyGlass.BorderColor, and the RasterMagnifyGlass.RoundRectangleEllipseSize properties will be used.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7