PdfReal Class
A real number (ISO 32000-2, 7.3.3). It is written without exponent, with at most six decimals.
public sealed class PdfReal : PdfNumber, IEquatable<PdfReal>- Inheritance
PdfNumberPdfReal- Implements
Properties
| Name | Description |
|---|---|
| DoubleValue | Gets the value as a double-precision number. |
| Kind | Gets the kind of the object. |
| Value | Gets the value. |
DoubleValue
PdfReal.csKind
PdfReal.csValue
PdfReal.csMethods
| Name | Description |
|---|---|
| Equals(PdfReal?) | Indicates whether the current object is equal to another object of the same type. |
| Equals(object?) | Determines whether the specified object is equal to the current object. |
| Get(double) | Creates a real number. |
| GetHashCode() | Serves as the default hash function. |
Get(double)
PdfReal.csCreates a real number.
Parameters
valuedouble- The value, a finite number.
Returns
PdfReal The real number.
Exceptions
ArgumentOutOfRangeExceptionvalueis not finite.