setDocumentPageText Method

Summary

Sets the text for a page.

Syntax

JavaScript Syntax
DocumentViewerText.prototype.setDocumentPageText = function(pageText, pageNumber) 
TypeScript Syntax
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents.UI Assembly