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.DoubleThe amount to offset the location horizontally.
y
Type: System.DoubleThe amount to offset the location vertically.
.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.