From b7bbd1909eaca753b4356d4dbe120d0c24133131 Mon Sep 17 00:00:00 2001 From: Krithika Date: Fri, 6 Dec 2024 12:36:42 +0530 Subject: [PATCH 1/2] Added the Trademark Symbol in md files --- WindowsForms/PDF-Viewer/Getting-Started.md | 8 ++++---- .../How-To/View-the-PDF-stream-in-viewer.md | 2 +- WindowsForms/PDF-Viewer/Searching-Text.md | 2 +- WindowsForms/PDF-Viewer/Working-with-PDF-Viewer.md | 4 ++-- WindowsForms/PDF-Viewer/pdf-rendering-engines.md | 12 ++++++------ 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/WindowsForms/PDF-Viewer/Getting-Started.md b/WindowsForms/PDF-Viewer/Getting-Started.md index 4d002ee22..87669337c 100644 --- a/WindowsForms/PDF-Viewer/Getting-Started.md +++ b/WindowsForms/PDF-Viewer/Getting-Started.md @@ -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 @@ -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) @@ -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) diff --git a/WindowsForms/PDF-Viewer/How-To/View-the-PDF-stream-in-viewer.md b/WindowsForms/PDF-Viewer/How-To/View-the-PDF-stream-in-viewer.md index a31cca6ca..03b1c10fd 100644 --- a/WindowsForms/PDF-Viewer/How-To/View-the-PDF-stream-in-viewer.md +++ b/WindowsForms/PDF-Viewer/How-To/View-the-PDF-stream-in-viewer.md @@ -9,7 +9,7 @@ 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 %} diff --git a/WindowsForms/PDF-Viewer/Searching-Text.md b/WindowsForms/PDF-Viewer/Searching-Text.md index a40399e8b..17ae8d05a 100644 --- a/WindowsForms/PDF-Viewer/Searching-Text.md +++ b/WindowsForms/PDF-Viewer/Searching-Text.md @@ -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) diff --git a/WindowsForms/PDF-Viewer/Working-with-PDF-Viewer.md b/WindowsForms/PDF-Viewer/Working-with-PDF-Viewer.md index f17e3dea9..20aaa16ba 100644 --- a/WindowsForms/PDF-Viewer/Working-with-PDF-Viewer.md +++ b/WindowsForms/PDF-Viewer/Working-with-PDF-Viewer.md @@ -9,7 +9,7 @@ documentation: ug # Working with PdfViewerControl in Windows Forms PDF Viewer -Essential [WinForms PDF Viewer](https://www.syncfusion.com/winforms-ui-controls/pdf-viewer) can display and print PDF files and export the pages as raster images and meta files. +Essential® [WinForms PDF Viewer](https://www.syncfusion.com/winforms-ui-controls/pdf-viewer) can display and print PDF files and export the pages as raster images and meta files. ## Viewing PDF Files @@ -62,7 +62,7 @@ pdfViewerControl1.Load("Sample.pdf", "password") ### Exporting pages of PDF document as raster images -Essential PdfViewerControl allows selected pages to be exported as raster images. Exporting can be done using the [ExportAsImage](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.PdfViewer.PdfViewerControl.html#Syncfusion_Windows_Forms_PdfViewer_PdfViewerControl_ExportAsImage_System_Int32_) method. This option helps to convert a PDF into an image. +Essential® PdfViewerControl allows selected pages to be exported as raster images. Exporting can be done using the [ExportAsImage](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.PdfViewer.PdfViewerControl.html#Syncfusion_Windows_Forms_PdfViewer_PdfViewerControl_ExportAsImage_System_Int32_) method. This option helps to convert a PDF into an image. {% tabs %} {%highlight c#%} diff --git a/WindowsForms/PDF-Viewer/pdf-rendering-engines.md b/WindowsForms/PDF-Viewer/pdf-rendering-engines.md index c7fbae0b1..47d489d40 100644 --- a/WindowsForms/PDF-Viewer/pdf-rendering-engines.md +++ b/WindowsForms/PDF-Viewer/pdf-rendering-engines.md @@ -9,7 +9,7 @@ documentation: ug # PDF Rendering Engines in Windows Forms PDF Viewer (PdfViewerControl) -Syncfusion [WinForms PDF Viewer](https://www.syncfusion.com/winforms-ui-controls/pdf-viewer) renders the PDF pages through 2 different rendering engines. +Syncfusion® [WinForms PDF Viewer](https://www.syncfusion.com/winforms-ui-controls/pdf-viewer) renders the PDF pages through 2 different rendering engines. * PDFium (Google Chrome’s PDF rendering engine) * SfPdf (Syncfusion’s Own PDF rendering engine) @@ -18,14 +18,14 @@ Syncfusion [WinForms PDF Viewer](https://www.syncfusion.com/winforms-ui-controls PDFium is used in Google Chrome for rendering PDF files. It provides accurate and robust PDF rendering. It is the recommended PDF rendering engine. -N>* From v16.3.0.x onwards, this PDFium rendering engine is the default rendering engine of Syncfusion WinForms PDF Viewer. -N>* From v20.4.0.x onwards, ARM64-based Pdfium assembly is generated for Syncfusion WinForms PDF Viewer control in applications that target ARM64 architecture. +N>* From v16.3.0.x onwards, this PDFium rendering engine is the default rendering engine of Syncfusion® WinForms PDF Viewer. +N>* From v20.4.0.x onwards, ARM64-based Pdfium assembly is generated for Syncfusion® WinForms PDF Viewer control in applications that target ARM64 architecture. N>* From v22.1.x onwards, Pdfium is upgraded to the new version which was built with the branch [chromium/5692](https://pdfium.googlesource.com/pdfium/+/refs/heads/chromium/5692). ### How PDFium works with Syncfusion’s PDF Viewer -* On running your WinForms application, Syncfusion PDF Viewer control generates a folder named `PDFium` in the application output path folder (for example: bin/release or bin/debug) at runtime. -* Syncfusion PDF Viewer control detects the architecture of the running machine automatically. +* On running your WinForms application, Syncfusion® PDF Viewer control generates a folder named `PDFium` in the application output path folder (for example: bin/release or bin/debug) at runtime. +* Syncfusion® PDF Viewer control detects the architecture of the running machine automatically. * Next, it creates another subfolder named “x64”, “x86” or “arm64” based on the machine architecture. * Extracts the PDFium binary (PDFium.dll) into the subfolder (x64, x86 or arm64) and consumes it to render PDF files. @@ -35,7 +35,7 @@ N> PDFium rendering is not supported in Windows XP operating system. ### How to run PDFium in a restricted access environment -If there is any access restriction applied to the application output folder, then the Syncfusion PDF Viewer control cannot able to extract and consume the PDFium engine as mentioned above. +If there is any access restriction applied to the application output folder, then the Syncfusion® PDF Viewer control cannot able to extract and consume the PDFium engine as mentioned above. In that situation, you need to add the following steps to consume the PDFium rendering engine. From cb9169a8916829fe04df834feb76d1cdb2a5e388 Mon Sep 17 00:00:00 2001 From: Krithika Date: Fri, 6 Dec 2024 13:12:16 +0530 Subject: [PATCH 2/2] Added the Trademark Symbol in md files --- .../How-To/View-the-PDF-stream-in-viewer.md | 8 +-- WindowsForms/PDF-Viewer/Searching-Text.md | 48 ++++++++--------- .../PDF-Viewer/Working-with-PDF-Viewer.md | 52 +++++++++---------- 3 files changed, 54 insertions(+), 54 deletions(-) diff --git a/WindowsForms/PDF-Viewer/How-To/View-the-PDF-stream-in-viewer.md b/WindowsForms/PDF-Viewer/How-To/View-the-PDF-stream-in-viewer.md index 03b1c10fd..01167461a 100644 --- a/WindowsForms/PDF-Viewer/How-To/View-the-PDF-stream-in-viewer.md +++ b/WindowsForms/PDF-Viewer/How-To/View-the-PDF-stream-in-viewer.md @@ -13,7 +13,7 @@ PDF files as stream can be viewed in Essential® PdfViewerControl using the o {% tabs %} -{%highlight c#%} +{% highlight c# %} FileStream stream = new FileStream("Sample.pdf", FileMode.Open); //Initialize PDF Viewer @@ -21,9 +21,9 @@ 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 @@ -31,5 +31,5 @@ Dim pdfViewerControl1 As New PdfViewerControl() 'Load the PDF pdfViewerControl1.Load(stream) -{%endhighlight%} +{% endhighlight %} {% endtabs %} diff --git a/WindowsForms/PDF-Viewer/Searching-Text.md b/WindowsForms/PDF-Viewer/Searching-Text.md index 17ae8d05a..c9154e715 100644 --- a/WindowsForms/PDF-Viewer/Searching-Text.md +++ b/WindowsForms/PDF-Viewer/Searching-Text.md @@ -18,7 +18,7 @@ The Essential® `PdfViewerControl` allows users to search a given text in the 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"); @@ -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"); @@ -48,7 +48,7 @@ private void Next_Click(object sender, EventArgs e) pdfDocumentView.SearchNextText ("time"); } -{%endhighlight%} +{% endhighlight %} {% endtabs %} ## Search previous instance of a text @@ -56,7 +56,7 @@ private void Next_Click(object sender, EventArgs e) 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"); @@ -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"); @@ -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 @@ -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> @@ -119,7 +119,7 @@ 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; @@ -127,16 +127,16 @@ pdfViewer.TextSearchSettings.CurrentInstanceColor = Color.Red; 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 @@ -144,7 +144,7 @@ pdfViewer.TextSearchSettings.OtherInstanceColor = Color.Yellow 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; @@ -154,9 +154,9 @@ Dictionary> textSearch = new Dictionary>(); IsMatchFound = pdfViewerControl1.FindText("targetText", out textSearch); -{%endhighlight%} +{% endhighlight %} -{%highlight vb%} +{% highlight vb %} Dim IsMatchFound As Boolean @@ -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 @@ -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"); @@ -189,13 +189,13 @@ foreach (KeyValuePair> 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"); @@ -209,5 +209,5 @@ foreach (KeyValuePair> matchedText in matchedTextDetails) totalInstances += matchedText.Value.Count; } -{%endhighlight%} +{% endhighlight %} {% endtabs %} diff --git a/WindowsForms/PDF-Viewer/Working-with-PDF-Viewer.md b/WindowsForms/PDF-Viewer/Working-with-PDF-Viewer.md index 20aaa16ba..aefc8e053 100644 --- a/WindowsForms/PDF-Viewer/Working-with-PDF-Viewer.md +++ b/WindowsForms/PDF-Viewer/Working-with-PDF-Viewer.md @@ -16,46 +16,46 @@ Essential® [WinForms PDF Viewer](https://www.syncfusion.com/winforms-ui-cont A PDF can be loaded into the WinForms PDF Viewer either through the open file button available in the toolbar or through the [Load](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.PdfViewer.PdfViewerControl.html#Syncfusion_Windows_Forms_PdfViewer_PdfViewerControl_Load_System_String_) method. It also requests passwords to open encrypted documents. {% tabs %} -{%highlight c#%} +{% highlight c# %} //Initialize PdfViewerControl. PdfViewerControl pdfViewerControl1 = new PdfViewerControl(); //Load the PDF. pdfViewerControl1.Load("Sample.pdf"); -{%endhighlight%} +{% endhighlight %} -{%highlight vb%} +{% highlight vb %} 'Initialize PdfViewerControl. Private pdfViewerControl1 As New PdfViewerControl() 'Load the PDF. pdfViewerControl1.Load("Sample.pdf") -{%endhighlight%} +{% endhighlight %} {% endtabs %} You can load an encrypted document by using the overload in the [Load](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.PdfViewer.PdfViewerControl.html#Syncfusion_Windows_Forms_PdfViewer_PdfViewerControl_Load_System_String_System_String_) method. {% tabs %} -{%highlight c#%} +{% highlight c# %} //Initialize PdfViewerControl. PdfViewerControl pdfViewerControl1 = new PdfViewerControl(); //Load the PDF. pdfViewerControl1.Load("Sample.pdf", "password"); -{%endhighlight%} +{% endhighlight %} -{%highlight vb%} +{% highlight vb %} 'Initialize PdfViewerControl. Private pdfViewerControl1 As New PdfViewerControl() 'Load the PDF. pdfViewerControl1.Load("Sample.pdf", "password") -{%endhighlight%} +{% endhighlight %} {% endtabs %} ## Exporting PDF @@ -65,37 +65,37 @@ pdfViewerControl1.Load("Sample.pdf", "password") Essential® PdfViewerControl allows selected pages to be exported as raster images. Exporting can be done using the [ExportAsImage](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.PdfViewer.PdfViewerControl.html#Syncfusion_Windows_Forms_PdfViewer_PdfViewerControl_ExportAsImage_System_Int32_) method. This option helps to convert a PDF into an image. {% tabs %} -{%highlight c#%} +{% highlight c# %} Bitmap image = pdfViewerControl1.ExportAsImage(0); // Save the image. image.Save("Sample.png", ImageFormat.Png); -{%endhighlight%} +{% endhighlight %} -{%highlight vb%} +{% highlight vb %} Dim image As Bitmap = pdfViewerControl1.ExportAsImage(0) 'Save the image. image.Save("Sample.png", ImageFormat.Png) -{%endhighlight%} +{% endhighlight %} {% endtabs %} You can also specify the page range instead of converting each page. {% tabs %} -{%highlight c#%} +{% highlight c# %} Bitmap[] image = pdfViewerControl1.ExportAsImage(0, 3); -{%endhighlight%} +{% endhighlight %} -{%highlight vb%} +{% highlight vb %} Dim image() As Bitmap = pdfViewerControl1.ExportAsImage(0, 3) -{%endhighlight%} +{% endhighlight %} {% endtabs %} ### Exporting pages of PDF document as Vector Images @@ -103,37 +103,37 @@ Dim image() As Bitmap = pdfViewerControl1.ExportAsImage(0, 3) Exporting pages of PDF document as vector images can be done using the [ExportAsMetafile](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.PdfViewer.PdfViewerControl.html#Syncfusion_Windows_Forms_PdfViewer_PdfViewerControl_ExportAsMetafile_System_Int32_) method. The following code sample demonstrates how a PDF document can be exported as a Metafile. {% tabs %} -{%highlight c#%} +{% highlight c# %} Metafile image = pdfViewerControl1.ExportAsMetafile(0); // Save the image image.Save("Sample.emf", ImageFormat.Emf); -{%endhighlight%} +{% endhighlight %} -{%highlight vb%} +{% highlight vb %} Dim image As Metafile = pdfViewerControl1.ExportAsMetafile(0) ' Save the image image.Save("Sample.emf", ImageFormat.Emf) -{%endhighlight%} +{% endhighlight %} {% endtabs %} You can also specify the page range instead of converting each page individually. {% tabs %} -{%highlight c#%} +{% highlight c# %} Metafile[] image = pdfViewerControl1.ExportAsMetafile(0, 3); -{%endhighlight%} +{% endhighlight %} -{%highlight vb%} +{% highlight vb %} Dim image() As Metafile = pdfViewerControl1.ExportAsMetafile(0, 3) -{%endhighlight%} +{% endhighlight %} {% endtabs %} ## Text selection @@ -145,7 +145,7 @@ In PDF, text can be selected by clicking the mouse left button and dragging the When the text selection is completed, the `TextSelectionCompleted` event will be raised. The selected text can be retrieved as string from the `args` parameter of the event handler. {%tabs%} -{%highlight c#%} +{% highlight c# %} private void PdfViewer_TextSelectionCompleted(object sender, TextSelectionCompletedEventArgs args) { @@ -156,7 +156,7 @@ private void PdfViewer_TextSelectionCompleted(object sender, TextSelectionComple } -{%endhighlight%} +{% endhighlight %} {%endtabs%} ### Copying the selected text