PdfSharpCore icon indicating copy to clipboard operation
PdfSharpCore copied to clipboard

Question; PDFsharpCore obtain precise positions of elements like text, images, or other content on a PDF page.

Open devna13 opened this issue 1 year ago • 0 comments

Is there a way to find precise position of Pdf elements (in points) in a pdf document ? I have tried this but no luck so far.

        foreach (PdfItem? content in page.Contents.Elements)
        {
            PdfSharpCore.Pdf.Advanced.PdfReference pdfContent = (PdfSharpCore.Pdf.Advanced.PdfReference)content;

            Debug.WriteLine(content.ToString());

devna13 avatar Sep 20 '23 17:09 devna13