RectangleD.Inflate Method (RectangleD, Double, Double)
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: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣告
Public Shared Function Inflate ( _
rectangle As RectangleD, _
x As Double, _
y As Double _
) As RectangleD
public static RectangleD Inflate(
RectangleD rectangle,
double x,
double y
)
public:
static RectangleD Inflate(
RectangleD rectangle,
double x,
double y
)
static member Inflate :
rectangle:RectangleD *
x:float *
y:float -> RectangleD
public static function Inflate(
rectangle : RectangleD,
x : double,
y : double
) : RectangleD
Parameters
- rectangle
Type: Microsoft.VisualStudio.Modeling.Diagrams.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
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.