Namespace: PdfSharp.Pdf
Represents a direct integer value.
public sealed class PdfInteger : PdfNumber, System.ICloneable, System.IConvertible
Inheritance Object → PdfItem → PdfNumber → PdfInteger
Implements ICloneable, IConvertible
Gets the value as integer.
public int Value { get; }
Initializes a new instance of the PdfInteger class.
public PdfInteger()
Initializes a new instance of the PdfInteger class.
public PdfInteger(int value)
value
Int32
The value.
Returns the integer as string.
public string ToString()
Writes the integer as string.
internal void WriteObject(PdfWriter writer)
writer
PdfWriter
Returns TypeCode for 32-bit integers.
public TypeCode GetTypeCode()