PdfPointGdiExtensions.ToPointF Method

Converts a PdfPoint to a PointF.

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

Syntax

C#
public static PointF ToPointF(
	this PdfPoint pt
)
VB
<ExtensionAttribute>
Public Shared Function ToPointF ( 
	pt As PdfPoint
) As PointF

Parameters

pt
Type: BitMiracle.Docotic.Pdf.PdfPoint
The PdfPoint to convert.

Return Value

Type: PointF
Returns a PointF structure.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type PdfPoint. 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