GeometryHelpers.RectangleDFrom2Pts Method
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 RectangleDFrom2Pts ( _
pt1 As PointD, _
pt2 As PointD _
) As RectangleD
public static RectangleD RectangleDFrom2Pts(
PointD pt1,
PointD pt2
)
public:
static RectangleD RectangleDFrom2Pts(
PointD pt1,
PointD pt2
)
static member RectangleDFrom2Pts :
pt1:PointD *
pt2:PointD -> RectangleD
public static function RectangleDFrom2Pts(
pt1 : PointD,
pt2 : PointD
) : RectangleD
Parameters
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
.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.