Пример #1
0
 /// <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;
Пример #2
0
 /// <summary>
 /// Gets the cloned object that corresponds to the specified external identifier.
 /// </summary>
 public PDFReference this[PDFObjectID externalID] => _externalIDs[externalID.ToString()];
Пример #3
0
 /// <summary>
 /// Indicates whether the specified object is already imported.
 /// </summary>
 public bool Contains(PDFObjectID externalID) => _externalIDs.ContainsKey(externalID.ToString());