Open a ticket
Chat with us
Click or drag to resize

How to enable or disable text selection

Please note that application of the options described in this section depend on the initial set up explained here.

By default, TextSelectionDisabled has value false so text selection is enabled.
This example will disable mouse text selection.

C#
using PdfViewer = Terminalworks.PdfViewer.AspNetCore;

var options = new PdfViewer.Options {
  TextSelectionDisabled = true
};
Copyright © 2024 Terminalworks. All Rights Reserved