Inflates a LeadRect by the specified amount.
public static Leadtools.LeadRect Inflate(
Leadtools.LeadRect rect,
Leadtools.LeadSize size
)
Public Shared Function Inflate( _
ByVal rect As Leadtools.LeadRect, _
ByVal size As Leadtools.LeadSize _
) As Leadtools.LeadRect
public static Leadtools.LeadRect Inflate(
Leadtools.LeadRect rect,
Leadtools.LeadSize size
)
function Leadtools.LeadRectHelper.Inflate(
rect ,
size
)
public:
static Leadtools.LeadRect Inflate(
Leadtools.LeadRect rect,
Leadtools.LeadSize size
)
rect
The rectangle object.
size
The amount to inflate this LeadRect horizontally and vertically.
The result rectangle.
This method inflates the rectangle itself, not a copy of it. The inflation along an axis is in two directions (minus direction and plus direction). For example, if a 150 by 150 rectangle is inflated by 50 in the x-axis, the resulting rectangle will be 250 units long (the original 150, the 50 in the minus direction, and the 50 in the plus direction) maintaining the rectangle's geometric center. If either width or height is negative, the rectangle is deflated in the corresponding direction.
Products |
Support |
Feedback: Inflate Method (LeadRectHelper) - Leadtools |
Introduction |
Help Version 19.0.2017.6.19
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.