[]
Represents a PDF Ref object. This class overrides and implements:
public class PdfRef : IPdfRef, IEquatable<PdfRef>
Initializes a new instance of the PdfRef class.
public PdfRef(GcPdfDocument doc, PdfObjID objID)
doc
GcPdfDocumentThe value of Doc.
objID
PdfObjIDThe value of ObjID.
Initializes a new instance of the PdfRef class.
public PdfRef(GcPdfDocument doc, int id)
doc
GcPdfDocumentThe value of Doc.
id
intThe object ID.
Gets the GcPdfDocument owning the object referenced by this PdfRef.
public GcPdfDocument Doc { get; }
Gets the ID of the referenced object.
public PdfObjID ObjID { get; }
Checks whether this PdfRef is equal to value
.
public bool Equals(PdfRef value)
value
PdfRefpublic override bool Equals(object obj)
obj
objectpublic override int GetHashCode()
public override string ToString()