共用方式為


RectangleD.ToRectangleF(RectangleD) Method

Definition

Converts the specified RectangleD to a RectangleF.

public:
 static System::Drawing::RectangleF ToRectangleF(Microsoft::VisualStudio::Modeling::Diagrams::RectangleD rectangleD);
public static System.Drawing.RectangleF ToRectangleF (Microsoft.VisualStudio.Modeling.Diagrams.RectangleD rectangleD);
static member ToRectangleF : Microsoft.VisualStudio.Modeling.Diagrams.RectangleD -> System.Drawing.RectangleF
Public Shared Function ToRectangleF (rectangleD As RectangleD) As RectangleF

Parameters

rectangleD
RectangleD

Returns

The RectangleF.

Applies to