다음을 통해 공유


RectangleD.Offset Method (Double, Double)

Adjusts the location of this rectangle by the specified amount.

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 Offset ( _
    x As Double, _
    y As Double _
)
public void Offset(
    double x,
    double y
)
public:
void Offset(
    double x, 
    double y
)
member Offset : 
        x:float * 
        y:float -> unit
public function Offset(
    x : double, 
    y : double
)

Parameters

  • x
    Type: System.Double

    The amount to offset the location horizontally.

  • y
    Type: System.Double

    The amount to offset the location vertically.

.NET Framework Security

See Also

Reference

RectangleD Structure

Offset Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace