Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
AnnRectangle Constructor(Single,Single,Single,Single)
See Also 
Leadtools.Annotations Namespace > AnnRectangle Structure > AnnRectangle Constructor : AnnRectangle Constructor(Single,Single,Single,Single)




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.
Initializes a new instance of the AnnRectangle structure using the specified dimensions.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal x As Single, _
   ByVal y As Single, _
   ByVal width As Single, _
   ByVal height As Single _
)
Visual Basic (Usage)Copy Code
Dim x As Single
Dim y As Single
Dim width As Single
Dim height As Single
 
Dim instance As AnnRectangle(x, y, width, height)
C# 
public AnnRectangle( 
   float x,
   float y,
   float width,
   float height
)
Managed Extensions for C++ 
public: AnnRectangle( 
   float x,
   float y,
   float width,
   float height
)
C++/CLI 
public:
AnnRectangle( 
   float x,
   float y,
   float width,
   float height
)

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.

Remarks

The unit of measure will be set to the default (Pixel).

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

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features