PointD.Add Method
Translates a PointD by adding 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 Add ( _
point As PointD, _
size As SizeD _
) As PointD
public static PointD Add(
PointD point,
SizeD size
)
public:
static PointD Add(
PointD point,
SizeD size
)
static member Add :
point:PointD *
size:SizeD -> PointD
public static function Add(
point : PointD,
size : SizeD
) : PointD
Parameters
- point
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
A PointD to add to.
- size
Type: Microsoft.VisualStudio.Modeling.Diagrams.SizeD
A SizeD to add to 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.