Namespace: PdfSharp.Pdf
Represents an indirect integer value. This type is not used by PDFsharp. If it is imported from an external PDF file, the value is converted into a direct object.
public sealed class PdfUIntegerObject : PdfNumberObject, System.ICloneable
Inheritance Object → PdfItem → PdfObject → PdfNumberObject → PdfUIntegerObject
Implements ICloneable
Gets the value as unsigned integer.
public uint Value { get; }
Gets the PdfDocument this object belongs to.
public PdfDocument Owner { get; }
Indicates whether the object is an indirect object.
public bool IsIndirect { get; }
Gets the PdfInternals object of this document, that grants access to some internal structures which are not part of the public interface of PdfDocument.
public PdfObjectInternals Internals { get; }
Gets the indirect reference of this object. If the value is null, this object is a direct object.
public PdfReference Reference { get; internal set; }
Gets the indirect reference of this object. Throws if it is null.
public PdfReference ReferenceNotNull { get; }
InvalidOperationException
The indirect reference must be not null here.
Initializes a new instance of the PdfUIntegerObject class.
public PdfUIntegerObject()
Initializes a new instance of the PdfUIntegerObject class.
public PdfUIntegerObject(uint value)
value
UInt32
The value.
Initializes a new instance of the PdfUIntegerObject class.
public PdfUIntegerObject(PdfDocument document, uint value)
document
PdfDocument
The document.
value
UInt32
The value.
Returns the integer as string.
public string ToString()
Writes the integer literal.
internal void WriteObject(PdfWriter writer)
writer
PdfWriter