PdfSizeGdiExtensions.ToPointF Method

Converts a PdfSize to a PointF.

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

Syntax

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

Parameters

size
Type: BitMiracle.Docotic.Pdf.PdfSize
The PdfSize 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 PdfSize. 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