Leadtools.WinForms Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
Shape Property
See Also 
Leadtools.WinForms Namespace > RasterMagnifyGlass Class : Shape Property




Gets and sets the Shape of the Magnifying Glass.

Syntax

Visual Basic (Declaration) 
Public Overridable Property Shape As RasterMagnifyGlassShape
Visual Basic (Usage)Copy Code
Dim instance As RasterMagnifyGlass
Dim value As RasterMagnifyGlassShape
 
instance.Shape = value
 
value = instance.Shape
C# 
public virtual RasterMagnifyGlassShape Shape {get; set;}
Managed Extensions for C++ 
public: __property virtual RasterMagnifyGlassShape get_Shape();
public: __property virtual void set_Shape( 
   RasterMagnifyGlassShape value
);
C++/CLI 
public:
virtual property RasterMagnifyGlassShape Shape {
   RasterMagnifyGlassShape get();
   void set (RasterMagnifyGlassShape value);
}

Return Value

The shape of the Magnifying Glass.

Example

Refer to RasterMagnifyGlass example.

Remarks

Using the Border3DStyle, the BorderWidth, the BorderColor, and the 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 Border3DStyle property will be use.
  • if it set to RasterMagnifyGlassShape.Rectangle or set to RasterMagnifyGlassShape.Ellipse: only the BorderWidth, and the BorderColor properties will be used.
  • if it set to RasterMagnifyGlassShape.RoundRectangle : the BorderWidth, the BorderColor, and the RoundRectangleEllipseSize properties will be used.
  • Requirements

    Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

    See Also