Skip to content

Added the Trademark Symbol in md files #1119

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions WindowsForms/PDF-Viewer/Getting-Started.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ Refer to the [Control Dependencies](https://help.syncfusion.com/windowsforms/con

### Installing NuGet packages

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

N> Starting with version 23.1.x, a reference to the Syncfusion.PdfToImageConverter.Base assembly is necessary for PdfViewer applications.
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.
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.

### Adding from the installed location

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

### Adding in designer

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).
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).

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

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

### Adding in designer

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).
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).

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

Expand Down
10 changes: 5 additions & 5 deletions WindowsForms/PDF-Viewer/How-To/View-the-PDF-stream-in-viewer.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,27 @@ documentation: ug

# View the PDF Stream in PDF Viewer

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


{% tabs %}
{%highlight c#%}
{% highlight c# %}

FileStream stream = new FileStream("Sample.pdf", FileMode.Open);
//Initialize PDF Viewer
PdfViewerControl pdfViewerControl1 = new PdfViewerControl();
//Load the PDF
pdfViewerControl1.Load(stream);

{%endhighlight%}
{% endhighlight %}

{%highlight vb%}
{% highlight vb %}

Dim stream As New FileStream("Sample.pdf", FileMode.Open)
'Initialize PDF Viewer
Dim pdfViewerControl1 As New PdfViewerControl()
'Load the PDF
pdfViewerControl1.Load(stream)

{%endhighlight%}
{% endhighlight %}
{% endtabs %}
50 changes: 25 additions & 25 deletions WindowsForms/PDF-Viewer/Searching-Text.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ documentation: ug

# Searching Text in Windows Forms PDF Viewer (PdfViewerControl)

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.
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.

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

Expand All @@ -18,7 +18,7 @@ The Essential `PdfViewerControl` allows users to search a given text in the PDF
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.

{% tabs %}
{%highlight c#%}
{% highlight c# %}

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

{%endhighlight%}
{% endhighlight %}
{% endtabs %}

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

{% tabs %}
{%highlight c#%}
{% highlight c# %}

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

{%endhighlight%}
{% endhighlight %}
{% endtabs %}

## Search previous instance of a text

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.

{% tabs %}
{%highlight c#%}
{% highlight c# %}

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

{%endhighlight%}
{% endhighlight %}
{% endtabs %}

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

{% tabs %}
{%highlight c#%}
{% highlight c# %}

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

{%endhighlight%}
{% endhighlight %}
{% endtabs %}

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

{% tabs %}
{%highlight c#%}
{% highlight c# %}

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

{%endhighlight%}
{% endhighlight %}

{%highlight vb%}
{% highlight vb %}

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

{%endhighlight%}
{% endhighlight %}
{% endtabs %}

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

{% tabs %}
{%highlight c#%}
{% highlight c# %}

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


{%endhighlight%}
{% endhighlight %}

{%highlight vb%}
{% highlight vb %}

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

{%endhighlight%}
{% endhighlight %}
{% endtabs %}

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

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`.

{% tabs %}
{%highlight c#%}
{% highlight c# %}

bool IsMatchFound;

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

{%endhighlight%}
{% endhighlight %}

{%highlight vb%}
{% highlight vb %}

Dim IsMatchFound As Boolean

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

{%endhighlight%}
{% endhighlight %}
{% endtabs %}

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

{% tabs %}
{%highlight c#%}
{% highlight c# %}

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

{%endhighlight%}
{% endhighlight %}
{% endtabs %}

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

{% tabs %}
{%highlight c#%}
{% highlight c# %}

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

{%endhighlight%}
{% endhighlight %}
{% endtabs %}
Loading