PdfSizeGdiExtensions.ToSizeF Method

Converts a PdfSize to a SizeF.

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

Syntax

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

Parameters

size
Type: BitMiracle.Docotic.Pdf.PdfSize
The PdfSize to convert.

Return Value

Type: SizeF
Returns a SizeF 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