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
'宣告
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
- 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.