PointD.Subtract Method
Translates a PointD by subtracting the given size.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣告
Public Shared Function Subtract ( _
point As PointD, _
size As SizeD _
) As PointD
public static PointD Subtract(
PointD point,
SizeD size
)
public:
static PointD Subtract(
PointD point,
SizeD size
)
static member Subtract :
point:PointD *
size:SizeD -> PointD
public static function Subtract(
point : PointD,
size : SizeD
) : PointD
Parameters
- point
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
A PointD to subtract from.
- size
Type: Microsoft.VisualStudio.Modeling.Diagrams.SizeD
A SizeD to subtract from point.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
.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.