Table of Contents

Class PdfReference

Namespace
PdfSharp.Pdf.Advanced
Assembly
PdfSharp.dll

Represents an indirect reference to a PdfObject.

public sealed class PdfReference : PdfItem
Inheritance
object
PdfReference
Inherited Members
Extension Methods

Properties

Document

Gets the document this object belongs to.

GenerationNumber

Gets the generation number of the object identifier.

ObjectID

Gets or sets the object identifier.

ObjectNumber

Gets the object number of the object identifier.

Position

Gets or sets the file position of the related PdfObject.

Value

Gets or sets the referenced PdfObject.

Methods

Dereference(ref PdfItem)

Dereferences the specified item. If the item is a PdfReference, the item is set to the referenced value. Otherwise, no action is taken.

IsIndirect(PdfItem)

Returns true if the specified item is an indirect object; false otherwise.

MakeIndirect(PdfObject, PdfDocument)

Makes a PDF object an indirect object of the specified document and returns a reference to it.

ToString()

Gets a string representing the object identifier.