/// <summary> /// Gets the cloned object that corresponds to the specified external identifier. /// </summary> public PdfReference this[PdfObjectID externalID] { get { return(_externalIDs[externalID.ToString()]); } }
/// <summary> /// Indicates whether the specified object is already imported. /// </summary> public bool Contains(PdfObjectID externalID) { return(_externalIDs.ContainsKey(externalID.ToString())); }
/// <summary> /// Adds a cloned object to this table. /// </summary> /// <param name="externalID">The object identifier in the foreign object.</param> /// <param name="iref">The cross reference to the clone of the foreign object, which belongs to /// this document. In general the clone has a different object identifier.</param> public void Add(PdfObjectID externalID, PdfReference iref) { _externalIDs[externalID.ToString()] = iref; }
/// <summary> /// Indicates whether the specified object is already imported. /// </summary> public bool Contains(PdfObjectID externalID) { return this.externalIDs.Contains(externalID.ToString()); }
/// <summary> /// Gets the cloned object that corresponds to the specified external identifier. /// </summary> public PdfReference this[PdfObjectID externalID] { get { return (PdfReference)this.externalIDs[externalID.ToString()]; } }
/// <summary> /// Adds a cloned object to this table. /// </summary> /// <param name="externalID">The object identifier in the forein object.</param> /// <param name="iref">The cross reference to the clone of the forein object, which belongs to /// this document. In general the clone has a different object identifier.</param> public void Add(PdfObjectID externalID, PdfReference iref) { this.externalIDs[externalID.ToString()] = iref; }
/// <summary> /// Gets the cloned object that corresponds to the specified external identifier. /// </summary> public PdfReference this[PdfObjectID externalID] => (PdfReference)externalIDs[externalID.ToString()];