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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Declaração
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