setDocumentPageText Method

Summary

Sets the text for a page.

Syntax
TypeScript
JavaScript
DocumentViewerText.prototype.setDocumentPageText = function( 
   pageText, 
   pageNumber 
) 
setDocumentPageText( 
   pageText: DocumentPageText, 
   pageNumber: number 
): void; 

Parameters

pageText

New page text to use for the page.

pageNumber

Pager number to use. This value cannot be 0.

Remarks

DocumentViewerText stored the DocumentPageText of the pages internally when they are obtained and re-use then when needed.

Use SetDocumentPageText to replace the page of a document and the new value will be used by all the text operations in this document.

Requirements

Target Platforms

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

Leadtools.Document.Viewer Assembly