RectangleD.Implicit Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.