logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Post a reply
From:
Message:

Maximum number of characters in each post is: 32767
Bold Italic Underline   Highlight Quote Choose Language for Syntax Highlighting Insert Image Insert an existing Attachment or upload a new File... Create Link   Unordered List Ordered List   Left Justify Center Justify Right Justify   Outdent Indent   More BBCode Tags
Font Color Font Size
Security Image:
Enter The Letters From The Security Image:
  Preview Post Cancel

Last 10 Posts (In reverse order)
eagleview Posted: Friday, January 29, 2016 11:48:37 AM(UTC)
 
Great - Thanks for the quick help!

Paul Rayman Posted: Thursday, January 28, 2016 6:40:29 PM(UTC)
 
Hi!

You can get the loaded into PdfViewer document through the Document property

Code:
pdfViewer1.Document.Pages[pg_ctr].Text.GetText(0, chars)
Guest Posted: Thursday, January 28, 2016 5:05:30 PM(UTC)
 
Hi All,

I wish to load PDF doc in the PDF Viewer but also wish to search the document. There are two different methods I see in the SDK to load a document: PdfViewer.LoadDocument and one in PdfDocument.Load. I'm loading the file into the viewer so it can be viewed but separately loading the text of the document for searching using regular C# (non-SDK) functions. Is there a way to access the text fro the PdfViewer loaded doc instead of loading it twice, once for display and once for access via doc.Pages[pg_ctr].Text.GetText(0, chars)?

Thanks for any help you can provide!