[]
Contains extension methods for the IPdfNumber interface, allows working with PdfNumber and PdfNumberObject in the same way.
public static class IPdfNumberExt
| 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. |