himanshu wrote:
How can i use PDF Sharp to create PDF file in a way that it embeds the TIFF image without losing OCR content.
PDFsharp only adds the image data (in PDF bitmap format).
PDFsharp uses OS functions to read TIFF files. I presume OCR content gets lost at that stage already. I would not know how to add OCR content to the PDF file (but the internals of PDF files are not my area of expertise).
I'm afraid retrieving the OCR content from the TIFF will require major changes to the current code. Making use of this OCR content will require new code.
Long story short: I don't know if this can be done - if it can be done, then (I'm afraid) it will be low on our wish list for future extensions.