Table of Contents

Property Id

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

Id

Gets the identifier of this XObject in this PdfDocument.

public string Id { get; }

Property Value

string

The identifier of the form XObject in this PdfDocument.

Remarks

The identifier has the following properties:

  • Different XObjects from the same PdfDocument object will have different identifiers.
  • Same XObjects from multiple PdfDocument objects will have same identifiers. Two XObjects are said to be the same when they are based on internal PDF structures with the same number.
  • XObjects from different documents have same identifiers if those XObjects 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 the library saves a document it might renumber its internal structures. Therefore, the identifier might change after invocation of any of the Save methods.