Collapse All Expand All Code: All Code: Multiple Code: Visual Basic Code: C# Code: Visual C++ Code: JavaScript

Visual Basic
C#
Visual C++
JavaScript

Easy GIS .NET API Reference
RectangleD..::.Inflate Method (RectangleD, Double, Double)
RectangleD Structure See Also Send Feedback

Creates and returns an inflated copy of the specified RectangleD structure. The copy is inflated by the specified amount. The original rectangle remains unmodified.

Namespace: EGIS.ShapeFileLib
Assembly: EGIS.ShapeFileLib (in EGIS.ShapeFileLib.dll)

# Syntax

Visual Basic (Declaration)
    Public Shared Function Inflate ( _
    	rect As RectangleD, _
    	x As Double, _
    	y As Double _
    ) As RectangleD

C#
    public static RectangleD Inflate(
    	RectangleD rect,
    	double x,
    	double y
    )

Visual C++
    public:
    static RectangleD Inflate(
    	RectangleD rect,
    	double x,
    	double y
    )

#### Parameters

rect
  Type: EGIS.ShapeFileLib..::.RectangleD
  The RectangleD to be copied. This rectangle is not modified.

x
  Type: System..::.Double
  The amount to inflate the copy of the rectangle horizontally.

y
  Type: System..::.Double
  The amount to inflate the copy of the rectangle vertically.

#### Return Value

The inflated RectangleD.

# See Also

RectangleD Structure
Inflate Overload
EGIS.ShapeFileLib Namespace