Setting available find options |
Please note that application of the options described in this section depend on the initial set up explained here.
This is an example which show all available FindOptions properties and its default values.
If you are fine with the propertie's default value, you can omit it, otherwise set it to true.
using PdfViewer = Terminalworks.PdfViewer.AspNetCore; var options = new PdfViewer.Options { Find = new PdfViewer.FindOptions { CaseSensitive = false, HighlightAll = false, WholeWord = false } };
This example shows how to have case sensitive search.
using PdfViewer = Terminalworks.PdfViewer.AspNetCore; var options = new PdfViewer.Options { Find = new PdfViewer.FindOptions { CaseSensitive = true } };