←Select platform

RenderSelection Property

Summary

Indicates whether selected text should be automatically rendered on the view.

Syntax
C#
VB
C++
public bool RenderSelection { get; set; } 
Public Property RenderSelection() As Boolean 
   Get 
   Set 
public:  
   property bool RenderSelection 
   { 
      bool get() 
      void set(bool value) 
   } 

Property Value

true if selected text should be rendered on the view; otherwise, false. Default value is true.

Remarks

When this value is true, DocumentViewer will automatically renders the text selection of all pages using the SelectedBrush property on the surface of View.ImageViewer.

DocumentViewer will keep track of the current selection state and re-renders as necessary when the selection changes.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Viewer.WinForms Assembly