PdfRectangleGdiExtensions.ToRectangleF Method

Converts this PdfRectangle to a RectangleF.

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

Syntax

C#
public static RectangleF ToRectangleF(
	this PdfRectangle rect
)
VB
<ExtensionAttribute>
Public Shared Function ToRectangleF ( 
	rect As PdfRectangle
) As RectangleF

Parameters

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

Return Value

Type: RectangleF
Returns a RectangleF structure.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type PdfRectangle. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also