LEADTOOLS Annotations (Leadtools.Annotations assembly)
LEAD Technologies, Inc

AnnRectangle Constructor(Single,Single,Single,Single,AnnUnit)






The x-coordinate of the upper-left corner of the rectangle.
The y-coordinate of the upper-left corner of the rectangle.
The width of the rectangle.
The height of the rectangle.
The AnnUnit value for the unit of measure
Initializes a new instance of the AnnRectangle structure at a specific location using specified dimensions and AnnUnit value.
Syntax
public AnnRectangle( 
   float x,
   float y,
   float width,
   float height,
   AnnUnit unit
)
'Declaration
 
Public Function New( _
   ByVal x As Single, _
   ByVal y As Single, _
   ByVal width As Single, _
   ByVal height As Single, _
   ByVal unit As AnnUnit _
)
'Usage
 
Dim x As Single
Dim y As Single
Dim width As Single
Dim height As Single
Dim unit As AnnUnit
 
Dim instance As New AnnRectangle(x, y, width, height, unit)
public AnnRectangle( 
   float x,
   float y,
   float width,
   float height,
   AnnUnit unit
)
function AnnRectangle( 
   x ,
   y ,
   width ,
   height ,
   unit 
)
public:
AnnRectangle( 
   float x,
   float y,
   float width,
   float height,
   AnnUnit unit
)

Parameters

x
The x-coordinate of the upper-left corner of the rectangle.
y
The y-coordinate of the upper-left corner of the rectangle.
width
The width of the rectangle.
height
The height of the rectangle.
unit
The AnnUnit value for the unit of measure
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

AnnRectangle Structure
AnnRectangle Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

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