From 18f18571e8fde1611d3036f8517320c0f56bdee6 Mon Sep 17 00:00:00 2001 From: Lingeshwaran S Date: Tue, 7 Jul 2026 11:39:23 +0530 Subject: [PATCH] Update WinForms PdfViewer Getting Started Content --- .../PDF-Viewer/winforms/Getting-Started.md | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/Document-Processing/PDF/PDF-Viewer/winforms/Getting-Started.md b/Document-Processing/PDF/PDF-Viewer/winforms/Getting-Started.md index 05cdb5f5e3..17211ede63 100644 --- a/Document-Processing/PDF/PDF-Viewer/winforms/Getting-Started.md +++ b/Document-Processing/PDF/PDF-Viewer/winforms/Getting-Started.md @@ -19,12 +19,12 @@ You can create a **Windows Forms Application** using Visual Studio via [Microsof ## Assemblies Deployment -To add a WinForms PdfViewer component to your application by installing it via NuGet packages(Recommended) or by manually adding the required assemblies to the project. +To add a WinForms PdfViewer component to your application by installing it via NuGet packages (Recommended) or by manually adding the required assemblies to the project. {% tabcontents %} {% tabcontent NuGet Package %} -The [WinForms PDF Viewer](https://www.syncfusion.com/pdf-viewer-sdk/winforms-pdf-viewer) (PdfViewerControl) and dependent assemblies can be found from the below location in your machine. +The [WinForms PDF Viewer](https://www.syncfusion.com/pdf-viewer-sdk/winforms-pdf-viewer) (PdfViewerControl) and dependent assemblies can be found at the following location on your machine. ### Install Syncfusion® Windows Forms PdfViewer NuGet packages @@ -38,7 +38,7 @@ To add **Windows Forms PdfViewer** component in the application, open the NuGet ### Add Syncfusion® WinForms PdfViewer Assemblies -Below table describes, list of assemblies required to be added in project when the [WinForms PdfViewer](https://www.syncfusion.com/pdf-viewer-sdk/winforms-pdf-viewer) control is used in your application. +The table below lists the required assemblies to be added in project when the [WinForms PdfViewer](https://www.syncfusion.com/pdf-viewer-sdk/winforms-pdf-viewer) control is used in your application. @@ -60,11 +60,11 @@ This library is responsible for Pdfium integration and image generation, enhanci +This assembly contains the rendering area and other related UI elements. +This assembly contains various UI controls (ColorPickerPalette and Numeric UpDown) that are used in the PDF Viewer.
Syncfusion.PdfViewer.Windows.dll -This component contains the rendering area and other related UI elements.
Syncfusion.Shared.Base.dll -This component contains various UI controls (ColorPickerPalette and Numeric UpDown) that are used in the PDF Viewer.
{% endtabcontent %} @@ -72,12 +72,12 @@ This component contains various UI controls (ColorPickerPalette and Numeric UpDo {% endtabcontents %} N>* Starting with version 23.1.x, Syncfusion PdfToImageConverter 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 version 16.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 licensing guide](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. ## Add Windows Forms PdfViewer component -WinForms PdfViewer control can be added to an application either through the designer (XAML) or programmatically using code. +WinForms PdfViewer control can be added to an application either through the Windows Forms Designer or programmatically using code. {% tabcontents %} {% tabcontent Via Designer %} @@ -90,7 +90,7 @@ WinForms PdfViewer control can be added to an application either through the des ![Windows forms pdfviewer displays properties window of control](Getting-Started_images/Getting-Started_img2.png) -3. This will add the instance 'pdfViewerControl1' to the Designer cs file. The PDF can be loaded in the Form1.cs file using the [Load](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.PdfViewer.PdfViewerControl.html#Syncfusion_Windows_Forms_PdfViewer_PdfViewerControl_Load_System_String_) method. +3. This will add the instance 'pdfViewerControl1' to the Designer.cs file. The PDF can be loaded in the Form1.cs file using the [Load](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.PdfViewer.PdfViewerControl.html#Syncfusion_Windows_Forms_PdfViewer_PdfViewerControl_Load_System_String_) method. {% tabs %} {% highlight c# tabtitle="C#" %} @@ -129,7 +129,7 @@ Imports Syncfusion.Windows.Forms.PdfViewer {% endtabs %} -2. Create PdfViewerControl instance and load the PDF in Form1.cs. +2. Create a PdfViewerControl instance and load the PDF inside Constructor in Form1.cs. Also place the sample PDF document in the project folder. {% tabs %} {% highlight c# tabtitle="C#" %} @@ -143,7 +143,7 @@ Controls.Add(pdfViewerControl1); pdfViewerControl1.Dock = DockStyle.Fill; //Loading the document in the PdfViewerControl -pdfViewerControl1.Load("Sample.pdf"); +pdfViewerControl1.Load(@"../../Sample.pdf"); {% endhighlight %} {% highlight vb tabtitle="VB.NET" %} @@ -157,7 +157,7 @@ Controls.Add(pdfViewerControl1) pdfViewerControl1.Dock = DockStyle.Fill 'Loading the document in the PdfViewerControl -pdfViewerControl1.Load("Sample.pdf") +pdfViewerControl1.Load(@"../../Sample.pdf") {% endhighlight %} {% endtabs %}