Performs an implicit conversion from PdfRectangle to PdfQuadrilateral.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public static implicit operator PdfQuadrilateral (
	PdfRectangle rect
)
VB
Public Shared Widening Operator CType ( 
	rect As PdfRectangle
) As PdfQuadrilateral

Parameters

rect
Type: BitMiracle.Docotic.Pdf.PdfRectangle
The PdfRectangle structure to convert.

Return Value

Type: PdfQuadrilateral

The PdfQuadrilateral structure that is converted from the specified PdfRectangle structure.

Quadrilateral's first corner corresponds to rectangle's left-top corner. Remaining corners are added clockwise.

See Also