LEADTOOLS Windows Forms (Leadtools.WinForms assembly)
LEAD Technologies, Inc

Shape Property






Gets or sets the Shape of the Magnifying Glass.
Syntax
public virtual RasterMagnifyGlassShape Shape {get; set;}
'Declaration
 
Public Overridable Property Shape As RasterMagnifyGlassShape
'Usage
 
Dim instance As RasterMagnifyGlass
Dim value As RasterMagnifyGlassShape
 
instance.Shape = value
 
value = instance.Shape
public virtual RasterMagnifyGlassShape Shape {get; set;}
 get_Shape();
set_Shape(value);
public:
virtual property RasterMagnifyGlassShape Shape {
   RasterMagnifyGlassShape get();
   void set (    RasterMagnifyGlassShape value);
}

Property Value

The shape of the Magnifying Glass.
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.

Example
Refer to RasterMagnifyGlass example.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterMagnifyGlass Class
RasterMagnifyGlass Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.