RectangleD.Offset Method (PointD)
Adjusts the location of this rectangle by the specified amount.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Public Sub Offset ( _
pos As PointD _
)
public void Offset(
PointD pos
)
public:
void Offset(
PointD pos
)
member Offset :
pos:PointD -> unit
public function Offset(
pos : PointD
)
Parameters
pos
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointDThe amount to offset the location.
.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.