←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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents.UI.WinForms Assembly