Partager via


RectangleD.Inflate Method (Double, Double)

A copy in which the edges are moved outwards by specified distances, and the center is in the same position.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public Sub Inflate ( _
    x As Double, _
    y As Double _
)
public void Inflate(
    double x,
    double y
)
public:
void Inflate(
    double x, 
    double y
)
member Inflate : 
        x:float * 
        y:float -> unit
public function Inflate(
    x : double, 
    y : double
)

Parameters

  • x
    Type: System.Double

    The distance by which to move the left and right edges. The width is increased by 2x.

  • y
    Type: System.Double

    The distance by which to move the top and bottom edges. The height is increased by 2y.

.NET Framework Security

See Also

Reference

RectangleD Structure

Inflate Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace