File tree Expand file tree Collapse file tree
Document-Processing/PDF/PDF-Viewer/blazor Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ The [OnTextSearchStart](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.
2121 - ` MatchCase ` : indicates whether case-sensitive search is enabled.
2222
2323{% tabs %}
24- {% highlight razor}
24+ {% highlight razor % }
2525@using Syncfusion.Blazor.SfPdfViewer
2626<SfPdfViewer2 DocumentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf "
2727 Height="100%"
@@ -47,7 +47,7 @@ The [OnTextSearchHighlight](https://help.syncfusion.com/cr/blazor/Syncfusion.Bla
4747 - ` PageNumber ` : page index where the match is highlighted.
4848
4949{% tabs %}
50- {% highlight razor}
50+ {% highlight razor % }
5151@using Syncfusion.Blazor.SfPdfViewer
5252<SfPdfViewer2 DocumentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf "
5353 Height="100%"
@@ -77,7 +77,7 @@ The [OnTextSearchComplete](https://help.syncfusion.com/cr/blazor/Syncfusion.Blaz
7777 - ` MatchCase ` : indicates whether case-sensitive search was used.
7878
7979{% tabs %}
80- {% highlight razor}
80+ {% highlight razor % }
8181@using Syncfusion.Blazor.SfPdfViewer
8282<SfPdfViewer2 DocumentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf "
8383 Height="100%"
Original file line number Diff line number Diff line change 11---
22layout : post
3- title : Text search in Blazor PDF Viewer Component | Syncfusion
3+ title : Text search Features in Blazor PDF Viewer Component | Syncfusion
44description : Learn how to configure text search and run programmatic searches in the Syncfusion Blazor PDF Viewer.
55platform : document-processing
66control : Text search
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ Use the [EnableTextSelection](https://help.syncfusion.com/cr/blazor/Syncfusion.B
3232@code {
3333 public string DocumentPath { get; set; } = "wwwroot/Data/PDF_Succinctly.pdf";
3434}
35- {% highlight %}
35+ {% endhighlight %}
3636{% endtabs %}
3737
3838### 2. Toggle text selection at runtime
@@ -73,7 +73,7 @@ The [EnableTextSelection](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazo
7373 Viewer.LoadAsync(DocumentPath,null);
7474 }
7575}
76- {% highlight %}
76+ {% endhighlight %}
7777{% endtabs %}
7878
7979## Use cases and considerations
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ ClearTextSelectionAsync(): Task
9797 await Viewer.ClearTextSelectionAsync();
9898 }
9999}
100- {% highlight %}
100+ {% endhighlight %}
101101{% endtabs %}
102102
103103## Events
@@ -122,7 +122,7 @@ Triggered when the user begins selecting text.
122122 Console.WriteLine(pageNumber);
123123 }
124124}
125- {% highlight %}
125+ {% endhighlight %}
126126{% endtabs %}
127127
128128** Arguments include:**
@@ -154,7 +154,7 @@ Triggered when the selection operation completes.
154154 Console.WriteLine(textBounds);
155155 }
156156}
157- {% highlight %}
157+ {% endhighlight %}
158158{% endtabs %}
159159
160160** Arguments include:**
You can’t perform that action at this time.
0 commit comments