←Select platform

Create Method

Summary
Initializes a new LeadRect object with explicit parameters.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public static LeadRect Create( 
   int x, 
   int y, 
   int width, 
   int height 
) 
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 
)  
def Create(self,x,y,width,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 22.0.2023.5.16
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly

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