PdfImage.Id Property

Gets the identifier of this image in this PdfDocument.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public string Id { get; }
VB
Public ReadOnly Property Id As String
	Get

Property Value

Type: String
The identifier of the image in this PdfDocument.

Remarks

The identifier has the following properties:

  • For all inline images the identifier is equal to null.
  • Different non-inline images from the same PdfDocument object have different identifiers. None of these identifiers is equal to null.
  • Same images from multiple PdfDocument objects have same identifiers. Two images are said to be the same when they are based on internal PDF structures with the same number.
  • Images from different documents have same identifiers if those images are based on internal PDF structures with the same number.
  • Any change to a PdfDocument object which does not renumber its internal structures does not change the identifier.
  • When library saves a document it might renumber its internal structures. Therefore, the identifier might change after invocation of any of the Save() methods.

See Also