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




rect
A RectangleF structure that uses floating-point numbers that represents the location and size of the new AnnRectangle structure.
unit
An AnnUnit value specifying the unit of measure to be used.
Initializes a new instance of the AnnRectangle structure from a RectangleF structure and a unit of measure.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal rect As RectangleF, _
   ByVal unit As AnnUnit _
)
Visual Basic (Usage)Copy Code
Dim rect As RectangleF
Dim unit As AnnUnit
 
Dim instance As AnnRectangle(rect, unit)
C# 
public AnnRectangle( 
   RectangleF rect,
   AnnUnit unit
)
Managed Extensions for C++ 
public: AnnRectangle( 
   RectangleF rect,
   AnnUnit unit
)
C++/CLI 
public:
AnnRectangle( 
   RectangleF rect,
   AnnUnit unit
)

Parameters

rect
A RectangleF structure that uses floating-point numbers that represents the location and size of the new AnnRectangle structure.
unit
An AnnUnit value specifying the unit of measure to 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

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