Delen via


GeometryHelpers.RectangleDFrom2Pts Method

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
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

See Also

Reference

GeometryHelpers Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace