다음을 통해 공유


RectangleD.Implicit Operator

Definition

Overloads

Implicit(Rectangle to RectangleD)

Converts the specified Rectangle to a RectangleD.

Implicit(RectangleF to RectangleD)

Converts the specified RectangleF to a RectangleD.

Implicit(Rectangle to RectangleD)

Converts the specified Rectangle to a RectangleD.

public:
 static operator Microsoft::VisualStudio::Modeling::Diagrams::RectangleD(System::Drawing::Rectangle value);
public static implicit operator Microsoft.VisualStudio.Modeling.Diagrams.RectangleD (System.Drawing.Rectangle value);
static member op_Implicit : System.Drawing.Rectangle -> Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
Public Shared Widening Operator CType (value As Rectangle) As RectangleD

Parameters

value
Rectangle

The Rectangle to convert.

Returns

The RectangleD.

Applies to

Implicit(RectangleF to RectangleD)

Converts the specified RectangleF to a RectangleD.

public:
 static operator Microsoft::VisualStudio::Modeling::Diagrams::RectangleD(System::Drawing::RectangleF value);
public static implicit operator Microsoft.VisualStudio.Modeling.Diagrams.RectangleD (System.Drawing.RectangleF value);
static member op_Implicit : System.Drawing.RectangleF -> Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
Public Shared Widening Operator CType (value As RectangleF) As RectangleD

Parameters

value
RectangleF

The Rectangle to convert.

Returns

The RectangleD.

Applies to