Working with MCID's and PDFTron.

Short question:

Retrieving the MCID's is easy using PDFTron.
But is it possible to attribute MCID to content ?
(eg. changing a marked content ID ?


You can surround existing PDF content with your own marked content
block. You may want to start from ElementEdit sample (http:// In your case you
will pass-through all elements but you would inject some marked
content. For example:

// Surround an image element with some marked content.
element_writer.WriteString("/Figure <</MCID 0 >> BDC ");
element_writer.WriteString("EMC ");

For a relevent discussion please see