Skip to content

Commit 46c972c

Browse files
author
Krithika
committed
Added the Trademark Symbol in md files
1 parent 1cbaf96 commit 46c972c

5 files changed

Lines changed: 68 additions & 68 deletions

File tree

WindowsForms/PDF-Viewer/Getting-Started.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ Refer to the [Control Dependencies](https://help.syncfusion.com/windowsforms/con
1515

1616
### Installing NuGet packages
1717

18-
Adding reference to Syncfusion assemblies through NuGet packages is illustrated in the [NuGet Packages](https://help.syncfusion.com/windowsforms/installation/install-nuget-packages) section.
18+
Adding reference to Syncfusion® assemblies through NuGet packages is illustrated in the [NuGet Packages](https://help.syncfusion.com/windowsforms/installation/install-nuget-packages) section.
1919

2020
N> Starting with version 23.1.x, a reference to the Syncfusion.PdfToImageConverter.Base assembly is necessary for PdfViewer applications.
21-
N> Starting with v16.2.0.x, if you reference Syncfusion assemblies from trial setup or from the NuGet feed, you also have to include a license key in your projects. Please refer to [this link](https://help.syncfusion.com/common/essential-studio/licensing/overview) to know about registering Syncfusion license key in your Windows Forms application to use our components.
21+
N> Starting with v16.2.0.x, if you reference Syncfusion® assemblies from trial setup or from the NuGet feed, you also have to include a license key in your projects. Please refer to [this link](https://help.syncfusion.com/common/essential-studio/licensing/overview) to know about registering Syncfusion® license key in your Windows Forms application to use our components.
2222

2323
### Adding from the installed location
2424

@@ -32,7 +32,7 @@ From v16.3.0x onwards, PDF Viewer uses PDFium as a default rendering engine to r
3232

3333
### Adding in designer
3434

35-
1. Open your form in the designer. Add the Syncfusion controls to your .NET toolbox in Visual Studio if you haven't done so already (the install would have automatically done this unless you selected not to complete toolbox integration during installation).
35+
1. Open your form in the designer. Add the Syncfusion® controls to your .NET toolbox in Visual Studio if you haven't done so already (the install would have automatically done this unless you selected not to complete toolbox integration during installation).
3636

3737
![Windows forms pdfviewer drag and drop from toolbox](Getting-Started_images/Getting-Started_img1.png)
3838

@@ -122,7 +122,7 @@ The [PdfDocumentView](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Win
122122

123123
### Adding in designer
124124

125-
1. Open your form in the designer. Add the Syncfusion controls to your .NET toolbox in Visual Studio if you haven't done so already (the install would have automatically done this unless you selected not to complete toolbox integration during installation).
125+
1. Open your form in the designer. Add the Syncfusion® controls to your .NET toolbox in Visual Studio if you haven't done so already (the install would have automatically done this unless you selected not to complete toolbox integration during installation).
126126

127127
![Windows forms PdfDocumentView drag and drop from toolbox](Getting-Started_images/Getting-Started_img1.png)
128128

WindowsForms/PDF-Viewer/How-To/View-the-PDF-stream-in-viewer.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,27 +9,27 @@ documentation: ug
99

1010
# View the PDF Stream in PDF Viewer
1111

12-
PDF files as stream can be viewed in Essential PdfViewerControl using the overload available in the Load method. Following are the code snippets.
12+
PDF files as stream can be viewed in Essential® PdfViewerControl using the overload available in the Load method. Following are the code snippets.
1313

1414

1515
{% tabs %}
16-
{%highlight c#%}
16+
{% highlight c# %}
1717

1818
FileStream stream = new FileStream("Sample.pdf", FileMode.Open);
1919
//Initialize PDF Viewer
2020
PdfViewerControl pdfViewerControl1 = new PdfViewerControl();
2121
//Load the PDF
2222
pdfViewerControl1.Load(stream);
2323

24-
{%endhighlight%}
24+
{% endhighlight %}
2525

26-
{%highlight vb%}
26+
{% highlight vb %}
2727

2828
Dim stream As New FileStream("Sample.pdf", FileMode.Open)
2929
'Initialize PDF Viewer
3030
Dim pdfViewerControl1 As New PdfViewerControl()
3131
'Load the PDF
3232
pdfViewerControl1.Load(stream)
3333

34-
{%endhighlight%}
34+
{% endhighlight %}
3535
{% endtabs %}

WindowsForms/PDF-Viewer/Searching-Text.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ documentation: ug
99

1010
# Searching Text in Windows Forms PDF Viewer (PdfViewerControl)
1111

12-
The Essential `PdfViewerControl` allows users to search a given text in the PDF document. The search box will appear when `Ctrl+F` is pressed and searches the text in the PDF document as shown in the following figure.
12+
The Essential® `PdfViewerControl` allows users to search a given text in the PDF document. The search box will appear when `Ctrl+F` is pressed and searches the text in the PDF document as shown in the following figure.
1313

1414
![Text Search in PDF Viewer WinForms](Working-with-PDF-Viewer_images/Working-with-PDF-Viewer_img2.png)
1515

@@ -18,7 +18,7 @@ The Essential `PdfViewerControl` allows users to search a given text in the PDF
1818
PDF Viewer allows you to search and highlight next instances of a text in the PDF document. The following code snippet illustrates how to search the next instance of a term “time” in the PDF document using the `PdfViewerControl` with respect to the current highlighted instance.
1919

2020
{% tabs %}
21-
{%highlight c#%}
21+
{% highlight c# %}
2222

2323
PdfViewerControl pdfViewerControl = new PdfViewerControl();
2424
pdfViewerControl.Load("Sample.pdf");
@@ -30,13 +30,13 @@ private void Next_Click(object sender, EventArgs e)
3030
pdfViewerControl.SearchNextText("time");
3131
}
3232

33-
{%endhighlight%}
33+
{% endhighlight %}
3434
{% endtabs %}
3535

3636
The following code snippet illustrates how to achieve the same using `PdfDocumentView`.
3737

3838
{% tabs %}
39-
{%highlight c#%}
39+
{% highlight c# %}
4040

4141
PdfDocumentView pdfDocumentView = new PdfDocumentView();
4242
pdfDocumentView.Load("Sample.pdf");
@@ -48,15 +48,15 @@ private void Next_Click(object sender, EventArgs e)
4848
pdfDocumentView.SearchNextText ("time");
4949
}
5050

51-
{%endhighlight%}
51+
{% endhighlight %}
5252
{% endtabs %}
5353

5454
## Search previous instance of a text
5555

5656
PDF Viewer allows you to search and highlight previous instances of a text in the PDF document. The following code snippet illustrates how to search the previous instance of a term “time” in the PDF document using the `PdfViewerControl` with respect to the current highlighted instance.
5757

5858
{% tabs %}
59-
{%highlight c#%}
59+
{% highlight c# %}
6060

6161
PdfViewerControl pdfViewerControl = new PdfViewerControl();
6262
pdfViewerControl.Load("Sample.pdf");
@@ -68,13 +68,13 @@ private void Previous_Click(object sender, EventArgs e)
6868
pdfViewerControl.SearchPreviousText("time");
6969
}
7070

71-
{%endhighlight%}
71+
{% endhighlight %}
7272
{% endtabs %}
7373

7474
The following code snippet illustrates how to achieve the same using `PdfDocumentView`.
7575

7676
{% tabs %}
77-
{%highlight c#%}
77+
{% highlight c# %}
7878

7979
PdfDocumentView pdfDocumentView = new PdfDocumentView();
8080
pdfDocumentView.Load("Sample.pdf");
@@ -86,7 +86,7 @@ private void Previous_Click(object sender, EventArgs e)
8686
pdfDocumentView.SearchPreviousText("time");
8787
}
8888

89-
{%endhighlight%}
89+
{% endhighlight %}
9090
{% endtabs %}
9191

9292
## Enable or disable highlighting all the searched text instances
@@ -96,19 +96,19 @@ PDF Viewer allows you to enable or disable highlighting all the occurrences of t
9696
The following code example illustrates how to disable highlighting all the searched text instance.
9797

9898
{% tabs %}
99-
{%highlight c#%}
99+
{% highlight c# %}
100100

101101
//Sets value to disable highlight all the occurrences of the searched text
102102
pdfViewer.TextSearchSettings.HighlightAllInstance = false;
103103

104-
{%endhighlight%}
104+
{% endhighlight %}
105105

106-
{%highlight vb%}
106+
{% highlight vb %}
107107

108108
'Sets value to disable highlight all the occurrences of the searched text
109109
pdfViewer.TextSearchSettings.HighlightAllInstance = false
110110

111-
{%endhighlight%}
111+
{% endhighlight %}
112112
{% endtabs %}
113113

114114
N>
@@ -119,32 +119,32 @@ N>
119119
PDF Viewer allows you to customize the color of the current searched text instance and all other occurrences. Refer to the following code example.
120120

121121
{% tabs %}
122-
{%highlight c#%}
122+
{% highlight c# %}
123123

124124
//Sets color to highlight current occurrence of the searched text
125125
pdfViewer.TextSearchSettings.CurrentInstanceColor = Color.Red;
126126
//Sets color to highlight all the occurrences of the searched text
127127
pdfViewer.TextSearchSettings.OtherInstanceColor = Color.Yellow;
128128

129129

130-
{%endhighlight%}
130+
{% endhighlight %}
131131

132-
{%highlight vb%}
132+
{% highlight vb %}
133133

134134
'Sets color to highlight current occurrence of the searched text
135135
pdfViewer.TextSearchSettings.CurrentInstanceColor = Color.Red
136136
'Sets color to highlight all the occurrences of the searched text
137137
pdfViewer.TextSearchSettings.OtherInstanceColor = Color.Yellow
138138

139-
{%endhighlight%}
139+
{% endhighlight %}
140140
{% endtabs %}
141141

142142
## Find all the instances of a text and its bounds
143143

144144
The `PdfViewerControl` also supports searching text in the PDF document using the [FindText](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.PdfViewer.PdfViewerControl.html#Syncfusion_Windows_Forms_PdfViewer_PdfViewerControl_FindText_System_String_System_Collections_Generic_Dictionary_System_Int32_System_Collections_Generic_List_System_Drawing_RectangleF____) method which returns true when the text given is found in the document. The dictionary contains the page indices and the list of rectangular coordinates of the text found in that page. The following code snippet illustrates how text search can be achieved in the `PdfViewerControl`.
145145

146146
{% tabs %}
147-
{%highlight c#%}
147+
{% highlight c# %}
148148

149149
bool IsMatchFound;
150150

@@ -154,9 +154,9 @@ Dictionary<int, List<RectangleF>>
154154
textSearch = new Dictionary<int, List<RectangleF>>();
155155
IsMatchFound = pdfViewerControl1.FindText("targetText", out textSearch);
156156

157-
{%endhighlight%}
157+
{% endhighlight %}
158158

159-
{%highlight vb%}
159+
{% highlight vb %}
160160

161161
Dim IsMatchFound As Boolean
162162

@@ -165,7 +165,7 @@ pdfViewerControl1.Load("Sample.pdf")
165165
Dim textSearch As New Dictionary(Of Integer, List(Of RectangleF))()
166166
IsMatchFound = pdfViewerControl1.FindText("targetText", textSearch)
167167

168-
{%endhighlight%}
168+
{% endhighlight %}
169169
{% endtabs %}
170170

171171
## Find the total number of instances of a text in the PDF document
@@ -175,7 +175,7 @@ PDF viewer allows you to find the total number of instances of a text in the PDF
175175
The following code snippet illustrates how to find the total number of instances of a term “time” present in the PDF document using `PdfViewerControl`.
176176

177177
{% tabs %}
178-
{%highlight c#%}
178+
{% highlight c# %}
179179

180180
PdfViewerControl pdfViewerControl = new PdfViewerControl();
181181
pdfViewerControl.Load("Sample.pdf");
@@ -189,13 +189,13 @@ foreach (KeyValuePair<int, List<RectangleF>> matchedText in matchedTextDetails)
189189
totalInstances += matchedText.Value.Count;
190190
}
191191

192-
{%endhighlight%}
192+
{% endhighlight %}
193193
{% endtabs %}
194194

195195
The following code snippet illustrates how to achieve the same using `PdfDocumentView`.
196196

197197
{% tabs %}
198-
{%highlight c#%}
198+
{% highlight c# %}
199199

200200
PdfDocumentView pdfDocumentView = new PdfDocumentView();
201201
pdfDocumentView.Load("Sample.pdf");
@@ -209,5 +209,5 @@ foreach (KeyValuePair<int, List<RectangleF>> matchedText in matchedTextDetails)
209209
totalInstances += matchedText.Value.Count;
210210
}
211211

212-
{%endhighlight%}
212+
{% endhighlight %}
213213
{% endtabs %}

0 commit comments

Comments
 (0)