Share via


RectangleD.ToRectangleF Method

Converts the specified RectangleD to a RectangleF.

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

Syntax

'Declaration
Public Shared Function ToRectangleF ( _
    rectangleD As RectangleD _
) As RectangleF
public static RectangleF ToRectangleF(
    RectangleD rectangleD
)
public:
static RectangleF ToRectangleF(
    RectangleD rectangleD
)
static member ToRectangleF : 
        rectangleD:RectangleD -> RectangleF 
public static function ToRectangleF(
    rectangleD : RectangleD
) : RectangleF

Parameters

Return Value

Type: System.Drawing.RectangleF

.NET Framework Security

See Also

Reference

RectangleD Structure

Microsoft.VisualStudio.Modeling.Diagrams Namespace