Leadtools.Documents.UI Namespace > DocumentViewerText Object : SetDocumentPageText Method |
function Leadtools.Documents.UI.DocumentViewerText.setDocumentPageText( pageText , pageNumber )
Parameter | Type | Description |
---|---|---|
pageText | DocumentPageText | New page text to use for the page. |
pageNumber | int | Pager number to use. This value cannot be 0. |
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.