[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.IPdfNumberExt

IPdfNumberExt Class

Contains extension methods for the IPdfNumber interface, allows working with PdfNumber and PdfNumberObject in the same way.

Inheritance
IPdfNumberExt
Namespace: GrapeCity.Documents.Pdf.Spec
Assembly: DS.Documents.Pdf.dll
Syntax
public static class IPdfNumberExt
Public Module IPdfNumberExt

Methods

Name Description
AsDouble(IPdfNumber)

Converts the IPdfNumber to a double value.

AsFloat(IPdfNumber)

Converts the IPdfNumber to a float value. Note that this method simply casts the double value to float.

AsInt(IPdfNumber)

Converts the IPdfNumber to an integer. Note that this method simply casts the double value to integer.

AsLong(IPdfNumber)

Converts the IPdfNumber to a long integer. Note that this method simply casts the double value to long integer.

AsUInt(IPdfNumber)

Converts the IPdfNumber to unsigned integer. Note that this method simply casts the double value to unsigned integer.