BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
List<PdfTextCoordinates> textCoordinatesList;
this.pdfViewer.GetTextCoordinates(text, pdfViewer.PageNumber, out textCoordinatesList);
How am I supposed to use the private coordinates? Am I missing something?
Cheers,
Enrico
Hi Enrico,
Thanks for using Syncfusion Products.
We have to load the PDF document to PDFViewer control if we
want to get any required text co-ordinates from the documents. Below we have provided
the code snippet for loading the pdf document into PDFViewer and GetTextCoordinates
from the loaded document.
Assembly
assembly = typeof(MainPage).GetTypeInfo().Assembly;
Stream fileStream =
assembly.GetManifestResourceStream("PDFViewerWintRT.Assets.Pdf.Barcode.pdf");
byte[] buffer = new byte[fileStream.Length];
fileStream.Read(buffer, 0, buffer.Length);
PdfLoadedDocument
ldoc = new PdfLoadedDocument(buffer);
This.pdfViewer.LoadDocument(ldoc);
List<PdfTextCoordinates> textCoordinatesList;
this.pdfViewer.GetTextCoordinates(text, pdfViewer.PageNumber, out textCoordinatesList);
Please, let us know if you need any
further assistance.
Regards,
Parthipan
Hi Enrico,
Sorry for the inconvenience.
We have created a new Direct- Trac incident on this
query and we have updated more details on this query in the incident. Please
find the incident from the below link.
http://www.syncfusion.com/support/directtrac/incidents/131343
Please, let us know if you
need any further assistance.
Thanks,
Parthipan R.