From 81beb0011d1fdd02582c345c377fbc42b1ae39ab Mon Sep 17 00:00:00 2001 From: Yaminisrisf4389 Date: Thu, 9 Oct 2025 15:53:16 +0530 Subject: [PATCH 1/4] Update_Readme_file --- README.md | 47 +++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 45 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5224cdf..8f582b0 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,31 @@ # WPF PDFViewer Samples -Repository contains various WPF PDFViewer samples. +This repository contains various sample projects of WPF PDF Viewer control. + +# About WPF PDF Viewer +In WPF applications, the [WPF PDF Viewer](https://www.syncfusion.com/pdf-viewer-sdk/wpf-pdf-viewer?utm_source=github&utm_medium=listing&utm_campaign=winforms-pdf-viewer-github-samples) lets you view, review, and print PDF files in WPF applications. The thumbnail, bookmark, hyperlink, and table of contents support provides easy navigation within and outside the PDF files. The form-filling support provides a platform to fill, flatten, save, and print PDF files with AcroForm. The PDF files can be reviewed with the abundant available annotation tools. + +## Requirements to run the Samples +*Operating System: Windows 11 or Windows 10 (version 1809, build 17763 or later). +*Development Environment: Visual Studio 2022 or later. + +## How to run the Samples +*Clone the repository to your local machine. +*Open the desired sample solution (.sln) file in Visual Studio. +*Restore the required NuGet packages automatically through Visual Studio. +*Build and run the selected sample project to explore its functionality. + +## Features and Benefits: +*High performance: Fast loading and optimized memory usage for smooth PDF rendering. +*[Magnification and view modes](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/wpf/magnifying-pdf-documents): Enhanced viewing experience with zoom and layout options. +*Image rendering: Export PDF pages as images in various formats. +*[Text interaction](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/wpf/extract-text-from-pdf): Select, copy, highlight, and search text within PDF documents. +*Form filling and [annotation](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/wpf/working-with-annotations/ink-annotation): Fill interactive PDF forms and annotate documents with highlights, shapes, and notes. +*Digital signatures: Sign PDF documents digitally within the viewer. +*[Navigation tools](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/wpf/working-with-thumbnail-navigation): Use bookmarks and table of contents for easy document navigation. +*Printing support: Print documents directly from the viewer. +*Highly customizable: Configure viewer behavior and appearance to match your application needs. + +## List of sample in the WPF PDFViewer Samples 1. [How to print PDF files without using adobe reader in WPF PDFViewer?](https://www.syncfusion.com/kb/10906/how-to-print-pdf-files-without-using-adobe-reader) - [Demo](https://github.com/SyncfusionExamples/WPF-PDFViewer-Samples/tree/main/How-to-print-pdf-files-without-using-adobe-reader) 2. [How to convert PDF to image in WPF PDFViewer?](https://www.syncfusion.com/kb/10903/how-to-convert-pdf-to-image) - [Demo](https://github.com/SyncfusionExamples/WPF-PDFViewer-Samples/tree/main/How-to-convert-pdf-to-image) @@ -20,4 +46,21 @@ Repository contains various WPF PDFViewer samples. 17. [How to include popup annotation in PDF document using WPF PDFViewer?](https://www.syncfusion.com/kb/5839/how-to-include-popup-annotation-in-pdf-document-using-pdf-viewer-for-wpf) - [Demo](https://github.com/SyncfusionExamples/WPF-PDFViewer-Samples/tree/main/How-to-Include-popup-annotation-in-pdf-document-using-wpf-pdf-viewer) 18. [How to crop portions of PDF document and save it as image in WPF PDFViewer?](https://www.syncfusion.com/kb/4976/how-to-crop-portions-of-pdf-document-and-save-it-as-image) - [Demo](https://github.com/SyncfusionExamples/WPF-PDFViewer-Samples/tree/main/How-to-crop-portions-of-pdf-document-and-save-it-as-image) 19. [How to supports silent printing particular page range from the PDF document in WPF PDFViewer?](https://www.syncfusion.com/kb/3666/does-the-pdf-viewer-wpf-supports-silent-printing-particular-page-range-from-the-pdf) - [Demo](https://github.com/SyncfusionExamples/WPF-PDFViewer-Samples/tree/main/How-to-supports-silent-printing-particular-page-range-from-pdf-document) -20. [How to add fitpage and fitwidth functionalities while using custom toolbar in WPF PDFViewer?](https://www.syncfusion.com/kb/3402/how-to-add-fitpage-and-fitwidth-functionalities-while-using-custom-toolbar) - [Demo](https://github.com/SyncfusionExamples/WPF-PDFViewer-Samples/tree/main/How-to-add-fitpage-and-fitwidth-functionalities-while-using-custom-roolbar) \ No newline at end of file +20. [How to add fitpage and fitwidth functionalities while using custom toolbar in WPF PDFViewer?](https://www.syncfusion.com/kb/3402/how-to-add-fitpage-and-fitwidth-functionalities-while-using-custom-toolbar) - [Demo](https://github.com/SyncfusionExamples/WPF-PDFViewer-Samples/tree/main/How-to-add-fitpage-and-fitwidth-functionalities-while-using-custom-roolbar) + + +## Related links + +[Learn More about WPF PDF Viewer](https://www.syncfusion.com/pdf-viewer-sdk/wpf-pdf-viewer?utm_source=github&utm_medium=listing&utm_campaign=winforms-pdf-viewer-github-samples) + +[Documentation](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/wpf/getting-started) + +[Knowledge base](https://www.syncfusion.com/kb?utm_source=github&utm_medium=listing&utm_campaign=winforms-pdf-viewer-github-samples) + +[Suggest a feature](https://www.syncfusion.com/feedback/wpf) + +## About Syncfusion® + +Founded in 2001 and headquartered in Research Triangle Park, N.C., Syncfusion® has more than 27,000 customers and more than 1 million users, including large financial institutions, Fortune 500 companies, and global IT consultancies. + +Today we provide 1700+ controls and frameworks for web ([Blazor](https://www.syncfusion.com/blazor-components?utm_source=github&utm_medium=listing&utm_campaign=winforms-pdf-viewer-github-samples), [ASP.NET Core](https://www.syncfusion.com/aspnet-core-ui-controls?utm_source=github&utm_medium=listing&utm_campaign=winforms-pdf-viewer-github-samples), [ASP.NET MVC](https://www.syncfusion.com/aspnet-mvc-ui-controls?utm_source=github&utm_medium=listing&utm_campaign=winforms-pdf-viewer-github-samples), [ASP.NET WebForms](https://www.syncfusion.com/jquery/aspnet-webforms-ui-controls?utm_source=github&utm_medium=listing&utm_campaign=winforms-pdf-viewer-github-samples), [JavaScript](https://www.syncfusion.com/javascript-ui-controls?utm_source=github&utm_medium=listing&utm_campaign=winforms-pdf-viewer-github-samples), [Angular](https://www.syncfusion.com/angular-ui-components?utm_source=github&utm_medium=listing&utm_campaign=winforms-pdf-viewer-github-samples), [React](https://www.syncfusion.com/react-ui-components?utm_source=github&utm_medium=listing&utm_campaign=winforms-pdf-viewer-github-samples), [Vue](https://www.syncfusion.com/vue-ui-components?utm_source=github&utm_medium=listing&utm_campaign=winforms-pdf-viewer-github-samples), and [Flutter](https://www.syncfusion.com/flutter-widgets?utm_source=github&utm_medium=listing&utm_campaign=winforms-pdf-viewer-github-samples)), mobile ([Xamarin](https://www.syncfusion.com/xamarin-ui-controls?utm_source=github&utm_medium=listing&utm_campaign=winforms-pdf-viewer-github-samples), [Flutter](https://www.syncfusion.com/flutter-widgets?utm_source=github&utm_medium=listing&utm_campaign=winforms-pdf-viewer-github-samples), [UWP](https://www.syncfusion.com/uwp-ui-controls?utm_source=github&utm_medium=listing&utm_campaign=winforms-pdf-viewer-github-samples), [JavaScript](https://www.syncfusion.com/javascript-ui-controls?utm_source=github&utm_medium=listing&utm_campaign=winforms-pdf-viewer-github-samples), and [MAUI(Preview)](https://www.syncfusion.com/maui-controls?utm_source=github&utm_medium=listing&utm_campaign=winforms-pdf-viewer-github-samples)), and desktop development ([Windows Forms](https://www.syncfusion.com/winforms-ui-controls?utm_source=github&utm_medium=listing&utm_campaign=winforms-pdf-viewer-github-samples), [WPF](https://www.syncfusion.com/wpf-ui-controls?utm_source=github&utm_medium=listing&utm_campaign=winforms-pdf-viewer-github-samples), [WinUI](https://www.syncfusion.com/winui-controls?utm_source=github&utm_medium=listing&utm_campaign=winforms-pdf-viewer-github-samples), [UWP](https://www.syncfusion.com/uwp-ui-controls?utm_source=github&utm_medium=listing&utm_campaign=winforms-pdf-viewer-github-samples), [Flutter](https://www.syncfusion.com/flutter-widgets?utm_source=github&utm_medium=listing&utm_campaign=winforms-pdf-viewer-github-samples), and [MAUI(Preview)](https://www.syncfusion.com/maui-controls?utm_source=github&utm_medium=listing&utm_campaign=winforms-pdf-viewer-github-samples)). We provide ready-to-deploy enterprise software for dashboards, reports, data integration, and big data processing. Many customers have saved millions in licensing fees by deploying our software. \ No newline at end of file From e8ddc06e47941fcbadd0b2adf20bed5ca71e6ded Mon Sep 17 00:00:00 2001 From: Yaminisrisf4389 Date: Thu, 9 Oct 2025 18:14:57 +0530 Subject: [PATCH 2/4] Update_Readme_file --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8f582b0..1c3e778 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # WPF PDFViewer Samples This repository contains various sample projects of WPF PDF Viewer control. -# About WPF PDF Viewer +## About WPF PDF Viewer In WPF applications, the [WPF PDF Viewer](https://www.syncfusion.com/pdf-viewer-sdk/wpf-pdf-viewer?utm_source=github&utm_medium=listing&utm_campaign=winforms-pdf-viewer-github-samples) lets you view, review, and print PDF files in WPF applications. The thumbnail, bookmark, hyperlink, and table of contents support provides easy navigation within and outside the PDF files. The form-filling support provides a platform to fill, flatten, save, and print PDF files with AcroForm. The PDF files can be reviewed with the abundant available annotation tools. ## Requirements to run the Samples From ed122262b39624ea598b788a5db00b3f98e4f8b9 Mon Sep 17 00:00:00 2001 From: Yaminisrisf4389 Date: Mon, 13 Oct 2025 14:25:45 +0530 Subject: [PATCH 3/4] Update_Readme_file --- README.md | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 1c3e778..8a32498 100644 --- a/README.md +++ b/README.md @@ -5,25 +5,25 @@ This repository contains various sample projects of WPF PDF Viewer control. In WPF applications, the [WPF PDF Viewer](https://www.syncfusion.com/pdf-viewer-sdk/wpf-pdf-viewer?utm_source=github&utm_medium=listing&utm_campaign=winforms-pdf-viewer-github-samples) lets you view, review, and print PDF files in WPF applications. The thumbnail, bookmark, hyperlink, and table of contents support provides easy navigation within and outside the PDF files. The form-filling support provides a platform to fill, flatten, save, and print PDF files with AcroForm. The PDF files can be reviewed with the abundant available annotation tools. ## Requirements to run the Samples -*Operating System: Windows 11 or Windows 10 (version 1809, build 17763 or later). -*Development Environment: Visual Studio 2022 or later. +* Operating System: Windows 11 or Windows 10 (version 1809, build 17763 or later). +* Development Environment: Visual Studio 2022 or later. ## How to run the Samples -*Clone the repository to your local machine. -*Open the desired sample solution (.sln) file in Visual Studio. -*Restore the required NuGet packages automatically through Visual Studio. -*Build and run the selected sample project to explore its functionality. +* Clone the repository to your local machine. +* Open the desired sample solution (.sln) file in Visual Studio. +* Restore the required NuGet packages automatically through Visual Studio. +* Build and run the selected sample project to explore its functionality. ## Features and Benefits: -*High performance: Fast loading and optimized memory usage for smooth PDF rendering. -*[Magnification and view modes](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/wpf/magnifying-pdf-documents): Enhanced viewing experience with zoom and layout options. -*Image rendering: Export PDF pages as images in various formats. -*[Text interaction](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/wpf/extract-text-from-pdf): Select, copy, highlight, and search text within PDF documents. -*Form filling and [annotation](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/wpf/working-with-annotations/ink-annotation): Fill interactive PDF forms and annotate documents with highlights, shapes, and notes. -*Digital signatures: Sign PDF documents digitally within the viewer. -*[Navigation tools](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/wpf/working-with-thumbnail-navigation): Use bookmarks and table of contents for easy document navigation. -*Printing support: Print documents directly from the viewer. -*Highly customizable: Configure viewer behavior and appearance to match your application needs. +* High performance: Fast loading and optimized memory usage for smooth PDF rendering. +* [Magnification and view modes](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/wpf/magnifying-pdf-documents): Enhanced viewing experience with zoom and layout options. +* Image rendering: Export PDF pages as images in various formats. +* [Text interaction](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/wpf/extract-text-from-pdf): Select, copy, highlight, and search text within PDF documents. +* Form filling and [annotation](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/wpf/working-with-annotations/ink-annotation): Fill interactive PDF forms and annotate documents with highlights, shapes, and notes. +* Digital signatures: Sign PDF documents digitally within the viewer. +* [Navigation tools](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/wpf/working-with-thumbnail-navigation): Use bookmarks and table of contents for easy document navigation. +* Printing support: Print documents directly from the viewer. +* Highly customizable: Configure viewer behavior and appearance to match your application needs. ## List of sample in the WPF PDFViewer Samples From 5d98a52f2f65fb1dab1a993a21c8d2745df05f20 Mon Sep 17 00:00:00 2001 From: Yaminisrisf4389 <159133048+Yaminisrisf4389@users.noreply.github.com> Date: Mon, 13 Oct 2025 17:47:21 +0530 Subject: [PATCH 4/4] Update gitleaks.yaml Update gitleaks file --- .github/workflows/gitleaks.yaml | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/.github/workflows/gitleaks.yaml b/.github/workflows/gitleaks.yaml index c115f77..f20f0ad 100644 --- a/.github/workflows/gitleaks.yaml +++ b/.github/workflows/gitleaks.yaml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4.2.2 - name: Install the gitleaks run: wget https://github.com/zricethezav/gitleaks/releases/download/v8.15.2/gitleaks_8.15.2_linux_x64.tar.gz shell: pwsh @@ -21,18 +21,24 @@ jobs: continue-on-error: true - name: Setup NuGet.exe if: steps.gitleaks.outcome != 'success' - uses: nuget/setup-nuget@v1 + uses: nuget/setup-nuget@v2 with: nuget-version: latest - - name: Install the dotnet + - name: Install Mono if: steps.gitleaks.outcome != 'success' - uses: actions/setup-dotnet@v3 - with: - dotnet-version: '3.1.x' + run: | + sudo apt update + sudo apt install -y mono-complete + - name: Install the dotnet SDK to a custom directory + if: steps.gitleaks.outcome != 'success' + run: | + mkdir -p $GITHUB_WORKSPACE/dotnet + curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --install-dir $GITHUB_WORKSPACE/dotnet --channel 6.0 - name: Install the report tool packages if: steps.gitleaks.outcome != 'success' run: | + export PATH=$GITHUB_WORKSPACE/dotnet:$PATH nuget install "Syncfusion.Email" -source ${{ secrets.NexusFeedLink }} -ExcludeVersion - dir $GITHUB_WORKSPACE/Syncfusion.Email/lib/netcoreapp3.1 - dotnet $GITHUB_WORKSPACE/Syncfusion.Email/lib/netcoreapp3.1/GitleaksReportMail.dll ${{ secrets.CITEAMCREDENTIALS }} "$GITHUB_REF_NAME" ${{ secrets.NETWORKCREDENTIALS }} ${{ secrets.NETWORKKEY }} "$GITHUB_WORKSPACE" ${{ secrets.ORGANIZATIONNAME }} - exit 1 \ No newline at end of file + dir $GITHUB_WORKSPACE/Syncfusion.Email/lib/net6.0 + dotnet $GITHUB_WORKSPACE/Syncfusion.Email/lib/net6.0/GitleaksReportMail.dll ${{ secrets.CITEAMCREDENTIALS }} "$GITHUB_REF_NAME" ${{ secrets.NETWORKCREDENTIALS }} ${{ secrets.NETWORKKEY }} "$GITHUB_WORKSPACE" ${{ secrets.ORGANIZATIONNAME }} + exit 1