Indicates whether to add the results of this Find Text operation to the list of rendered Find Text results.
public bool RenderResults { get; set; }
Public Property RenderResults() As Boolean
Get
Set
public:
property bool RenderResults
{
bool get()
void set(bool value)
}
true to render the results of the Find Text operation into the DocumentViewer.View; otherwise false. The default value is true.
If RenderResults is true, the results of DocumentViewerText.Find will be rendered on the page, as well the results of any previous DocumentViewerText.Find call since the last time DocumentViewerText.ClearRenderedFoundText was called. This allows multiple separate Find Text operations to highlight different areas of the document, or to achieve more detailed control over search areas by combining the results of several searches with different values for BeginPosition and EndPosition.
In most cases, it is useful to call DocumentViewerText.ClearRenderedFoundText before each call to DocumentViewerText.Find. The fill of the found text can be controlled from DocumentViewerText.FoundTextBrush.
The first result (in order) can also be selected with SelectFirstResult. To control whether a single match or all matches are returned, use FindAll.
For more information, refer to DocumentViewerText.Find.
History
For an example, refer to DocumentViewerText.Find.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET