Replaces the text content for this page.
public void setText(DocumentPageText text)
New text content to use for this page. This value can be null.
GetText is used to parse the text content of a page. All document types support this method and internally will use the LEADTOOLS SVG or OCR engines to obtain the text from the document.
This method works as follows (the "item" is the text content):
This method requires that the owner document uses a cache system (Document.HasCache is true), otherwise; an exception will be thrown.
All previously saved text objects for this page are purged from the cache.
text is null, then a "null" item is added to the cache.
GetText will check the cache first, hence, subsequent calls will return the value set by this method.
The value of IsTextModified will be set to true after this method returns.
For more information, refer to Parsing Text with the Documents Library.
Medical Web Viewer .NET