←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 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