Converts the specified Rectangle structure to a RectangleD structure.

Namespace:  EGIS.ShapeFileLib
Assembly:  EGIS.ShapeFileLib (in EGIS.ShapeFileLib.dll)

Syntax

Visual Basic
Public Shared Widening Operator CType ( _
	r As Rectangle _
) As RectangleD
C#
public static implicit operator RectangleD (
	Rectangle r
)
Visual C++
static implicit operator RectangleD (
	Rectangle r
)
JavaScript
JavaScript does not support the declaration of new casting operators.

Parameters

r
Type: System.Drawing..::..Rectangle
The Rectangle structure to convert.

Return Value

The RectangleD structure that is converted from the specified Rectangle structure.

See Also