←Select platform

Inflate Method

Summary
Expands the rectangle by using the specified width and height, in all directions.
Syntax
C#
C++/CLI
Java
Python
public void Inflate( 
   double width, 
   double height 
) 
public void inflate( 
   double doubleValue,  
   double doubleValue2 
); 
public: 
void Inflate(  
   double width, 
   double height 
)  
def Inflate(self,width,height): 

Parameters

width
Specifies the amount to increase the rectangle's Left and Right properties.

height
Specifies the amount to increase the rectangle's Top and Bottom properties.

Remarks

The Width of the resulting rectangle is increased by twice the  width value, because both the left and right sides of the rectangle are inflated. Likewise, the Height of the resulting rectangle is increased by twice the  height value.

You cannot change the values of the Empty rectangle.

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.