←Select platform

SetDocumentPageText Method

Summary

Sets the text for a page.

Syntax
C#
VB
C++
public void SetDocumentPageText( 
   DocumentPageText pageText, 
   int pageNumber 
) 
Public Sub SetDocumentPageText( 
   ByVal pageText As DocumentPageText, 
   ByVal pageNumber As Integer 
) 
public:  
   void SetDocumentPageText( 
      DocumentPageText^ pageText, 
      int pageNumber 
   ) 

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

Leadtools.Document.Viewer.WinForms Assembly