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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Viewer Assembly

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