LEADTOOLS WCF (Leadtools.Services.DataContracts assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
LeadRect Constructor(Int32,Int32,Int32,Int32)
See Also 
Leadtools.Services.DataContracts Namespace > LeadRect Structure > LeadRect Constructor : LeadRect 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.

The LeadRect Constructor(Int32,Int32,Int32,Int32) is available in LEADTOOLS Document and Medical Imaging toolkits.

Initializes a new instance of the LeadRect 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 New LeadRect(x, y, width, height)
C# 
public LeadRect( 
   int x,
   int y,
   int width,
   int height
)
C++/CLI 
public:
LeadRect( 
   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 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

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