←Select platform

GetAllDocumentPageText Method

Summary

DocumentPageText objects for all the pages in the document.

Syntax
C#
C++/CLI
public void GetAllDocumentPageText() 
public:  
   void GetAllDocumentPageText() 
Remarks

DocumentViewerText saves the DocumentPageText items internally when they are obtained. Hence, this method will first check if the value has already been obtained, if so, it will return the cached item. Otherwise, DocumentPage.GetText will be called and the result is stored internally before it is returned.

Calling DocumentPage.GetText might be a slow operation especially if text parsing involves OCR. Therefore, this method will fire the Operation event with DocumentViewerOperation.GetText for each page that does not have its text stored already. The application can intercept this event and show a busy dialog if required.

Refer to AutoGetText for more information.

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Viewer.WinForms Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.