コード例 #1
0
 /// <summary>
 /// Gets the cloned object that corresponds to the specified external identifier.
 /// </summary>
 public PdfReference this[PdfObjectID externalID]
 {
     get { return(_externalIDs[externalID.ToString()]); }
 }
コード例 #2
0
 /// <summary>
 /// Indicates whether the specified object is already imported.
 /// </summary>
 public bool Contains(PdfObjectID externalID)
 {
     return(_externalIDs.ContainsKey(externalID.ToString()));
 }
コード例 #3
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;
 }
コード例 #4
0
 /// <summary>
 /// Indicates whether the specified object is already imported.
 /// </summary>
 public bool Contains(PdfObjectID externalID)
 {
   return this.externalIDs.Contains(externalID.ToString());
 }
コード例 #5
0
 /// <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()]; }
 }
コード例 #6
0
 /// <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;
 }
コード例 #7
0
 /// <summary>
 /// Gets the cloned object that corresponds to the specified external identifier.
 /// </summary>
 public PdfReference this[PdfObjectID externalID] => (PdfReference)externalIDs[externalID.ToString()];