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
'Declaração
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
- rectangleD
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
Return Value
Type: System.Drawing.RectangleF
.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.