PdfSharp-WPF  1.31.7289
PdfSharp.Pdf.Advanced.PdfReference Class Reference

Represents an indirect reference to a PdfObject. More...

Inheritance diagram for PdfSharp.Pdf.Advanced.PdfReference:
PdfSharp.Pdf.PdfItem

Classes

class  PdfReferenceComparer
 Implements a comparer that compares PdfReference objects by their PdfObjectID.
 

Public Member Functions

 PdfReference (PdfObject pdfObject)
 Initializes a new PdfReference instance for the specified indirect object. More...
 
 PdfReference (PdfObjectID objectID, int position)
 Initializes a new PdfReference instance from the specified object identifier and file position. More...
 
override string ToString ()
 Gets a string representing the object identifier. More...
 
- Public Member Functions inherited from PdfSharp.Pdf.PdfItem
PdfItem Clone ()
 Creates a copy of this object. More...
 

Properties

PdfObjectID ObjectID [get, set]
 Gets or sets the object identifier. More...
 
int ObjectNumber [get]
 Gets the object number of the object identifier. More...
 
int GenerationNumber [get]
 Gets the generation number of the object identifier. More...
 
int Position [get, set]
 Gets or sets the file position of the related PdfObject. More...
 
PdfObject Value [get, set]
 Gets or sets the referenced PdfObject. More...
 
PdfDocument Document [get, set]
 Gets or sets the document this object belongs to. More...
 

Additional Inherited Members

- Protected Member Functions inherited from PdfSharp.Pdf.PdfItem
virtual object Copy ()
 Implements the copy mechanism. Must be overridden in derived classes. More...
 

Detailed Description

Represents an indirect reference to a PdfObject.

Constructor & Destructor Documentation

◆ PdfReference() [1/2]

PdfSharp.Pdf.Advanced.PdfReference.PdfReference ( PdfObject  pdfObject)

Initializes a new PdfReference instance for the specified indirect object.

◆ PdfReference() [2/2]

PdfSharp.Pdf.Advanced.PdfReference.PdfReference ( PdfObjectID  objectID,
int  position 
)

Initializes a new PdfReference instance from the specified object identifier and file position.

Member Function Documentation

◆ ToString()

override string PdfSharp.Pdf.Advanced.PdfReference.ToString ( )

Gets a string representing the object identifier.

Property Documentation

◆ Document

PdfDocument PdfSharp.Pdf.Advanced.PdfReference.Document
getset

Gets or sets the document this object belongs to.

◆ GenerationNumber

int PdfSharp.Pdf.Advanced.PdfReference.GenerationNumber
get

Gets the generation number of the object identifier.

◆ ObjectID

PdfObjectID PdfSharp.Pdf.Advanced.PdfReference.ObjectID
getset

Gets or sets the object identifier.

◆ ObjectNumber

int PdfSharp.Pdf.Advanced.PdfReference.ObjectNumber
get

Gets the object number of the object identifier.

◆ Position

int PdfSharp.Pdf.Advanced.PdfReference.Position
getset

Gets or sets the file position of the related PdfObject.

◆ Value

PdfObject PdfSharp.Pdf.Advanced.PdfReference.Value
getset

Gets or sets the referenced PdfObject.


The documentation for this class was generated from the following file: