←Select platform

Create Method

Summary

Initializes a new LeadRect object with explicit parameters.

Syntax

C#
VB
Java
Objective-C
C++
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 Leadtools.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 Leadtools.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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly