←Select platform

Create Method

Summary
Initializes a new LeadRect object with explicit parameters.
Syntax
C#
VB
Objective-C
C++
Java
public static LeadRect Create( 
   int x, 
   int y, 
   int width, 
   int height 
) 
Public Shared Function Create( _ 
   ByVal x As Integer, _ 
   ByVal y As Integer, _ 
   ByVal width As Integer, _ 
   ByVal height As Integer _ 
) As LeadRect 
LeadRect LeadRectMake(NSInteger x, NSInteger y, NSInteger width, NSInteger height) 
public static LeadRect create(int x, int y, int width, int height) 
public: 
static LeadRect Create(  
   int x, 
   int y, 
   int width, 
   int height 
)  

Parameters

x
Specifies the X coordinates of the LeadRect.

y
Specifies the Y coordinates of the LeadRect.

width
Specifies the width of the LeadRect. Must be a value greater than or equal to 0.

height
Specifies the height of the LeadRect. Must be a value greater than or equal to 0.

Return Value

A LeadRect with X set to x, Y set to y, Width set to width and Height set to height.

Requirements

Target Platforms

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.