Leadtools.Services.DataContracts Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
LeadRectangle Constructor(Int32,Int32,Int32,Int32)
See Also 
Leadtools.Services.DataContracts Namespace > LeadRectangle Structure > LeadRectangle Constructor : LeadRectangle Constructor(Int32,Int32,Int32,Int32)



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 in pixels.
height
The height of the rectangle in pixels.
Initializes a new instance of the LeadRectangle structure at a specific location using specified dimensions.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal x As Integer, _
   ByVal y As Integer, _
   ByVal width As Integer, _
   ByVal height As Integer _
)
Visual Basic (Usage)Copy Code
Dim x As Integer
Dim y As Integer
Dim width As Integer
Dim height As Integer
 
Dim instance As LeadRectangle(x, y, width, height)
C# 
public LeadRectangle( 
   int x,
   int y,
   int width,
   int height
)
C++/CLI 
public:
LeadRectangle( 
   int x,
   int y,
   int width,
   int 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 in pixels.
height
The height of the rectangle in pixels.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Applications developed with LEADTOOLS WCF components require runtime licenses. Server licensing is required for applications on a server. For more information, refer to: Imaging Pro/Document/Medical Features