GroupDocs.Conversion 21.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package GroupDocs.Conversion --version 21.2.0                
NuGet\Install-Package GroupDocs.Conversion -Version 21.2.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="GroupDocs.Conversion" Version="21.2.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GroupDocs.Conversion --version 21.2.0                
#r "nuget: GroupDocs.Conversion, 21.2.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install GroupDocs.Conversion as a Cake Addin
#addin nuget:?package=GroupDocs.Conversion&version=21.2.0

// Install GroupDocs.Conversion as a Cake Tool
#tool nuget:?package=GroupDocs.Conversion&version=21.2.0                

.NET API for Document Conversion

Version 21.2 Nuget

Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License

This .NET API can seamlessly integrate and enables your C#, ASP.NET & other .NET apps to convert document formats, without installing any 3rd party tools.

Document Conversion Processing Features

  • Provide a source format and fetch its supported conversion formats.
  • Generate fixed positioned DOM elements or flow positioned DOM elements for HTML conversion.
  • Apply a watermark to the converted document.
  • Supports various types of watermarks.
  • Supports conversion of N consecutive pages.
  • Convert the format of specific pages based on the page number.
  • Convert to HTML format with absolutely positioned HTML elements.
  • Supports conversion with advanced configurable options.
  • Cache conversion results to local drive or use extension point to customize it.
  • Load document from Amazon S3, Azure Blob, FTP, or from local disk.
  • Load document via stream or from a specific URL.
  • Load password-protected documents.
  • Enable listening of conversion process stages.

Supported Conversion File Formats

GroupDocs.Conversion allows you to convert any of the following types of file formats: Spreadsheet: XLSX, XLSB, XLS2003, XLT, XLTX, XLTM, XLAM, ODS, TSV, CSV, XLS, XLSM
Document: DOC, DOCM, DOCX, DOT, DOTM, DOTX, RTF, TXT, ODT, OTT
Presentation: PPT, PPS, PPTX, PPSX, ODP, POT, POTX, POTM, PPTM, PPSM
Image: JPC, JPEG-LS, TIFF, TIF, JPEG, JPG, PNG, GIF, BMP, ICO, CMX, DIB
Portable Document: PDF, XPS, EPUB
Web: HTM, HTML, MHTML
Adobe Photoshop: PSD
Microsoft Project: MPT, MPP, MPX
Email: MSG, EML, EMLX
Microsoft Visio: VSD, VSDX, VSS, VST, VSX, VTX, VDW, VDX, SVG, VSDM, VSSM, VSTM
AutoCAD: DXF, DWG, DWF, STL, IFC, DWT
Page Description: EPS, PCL, PS, CGM

Supported Platforms

GroupDocs.Conversion for .NET does not require any external software or third-party tool to be installed. GroupDocs.Conversion for .NET supports any 32-bit or 64-bit operating system where .NET or Mono framework is installed. The other details are as follows:

Microsoft Windows: Microsoft Windows Desktop (x86, x64) (XP & up), Microsoft Windows Server (x86, x64) (2000 & up), Windows Azure
Mac OS: Mac OS X
Linux: Linux (Ubuntu, OpenSUSE, CentOS and others)
Development Environments: Microsoft Visual Studio (2010 & up), Xamarin.Android, Xamarin.IOS, Xamarin.Mac, MonoDevelop 2.4 and later.
Supported Frameworks: GroupDocs.Conversion for .NET supports .NET and Mono frameworks.

Document Information Retrieval

Word Processing: word count, line count, page count, author, creation date.
Spreadsheet: worksheet count, author, creation date.
Presentation: slide count, author, creation date, presentation format.
Email: attachment count, is HTML body, is encrypted, is signed.
Image: image width, image height, image format.
CAD Drawing: collections of layout and layers.
PDF Document: page count, is landscaped, is encrypted, author, creation date.

Get Started

Are you ready to give GroupDocs.Conversion for .NET a try? Simply execute Install-Package GroupDocs.Conversion from Package Manager Console in Visual Studio to fetch & reference GroupDocs.Conversion assembly in your project. If you already have GroupDocs.Conversion for .Net and want to upgrade it, please execute Update-Package GroupDocs.Conversion to get the latest version.

Please check the GitHub Repository for other common usage scenarios.

Convert Specific Pages of DOCX to PDF via C# Code

using(Converter converter = new Converter("sample.docx")) {
    PdfConvertOptions options = new PdfConvertOptions {
        Pages = new List < int > {
            1,
            3
        }
    };
    converter.Convert("converted.pdf", options);
}

Fetch all Possible Conversion Formats supported by GroupDocs.Conversion

var allPossibleConversions = Converter.GetAllPossibleConversions();
foreach(var possibleConversions in allPossibleConversions) {
    Console.WriteLine($ "Source format: {possibleConversions.Source.Description}");
    foreach(var primary in possibleConversions.Primary) {
        Console.WriteLine($ "\t...can be converted to {primary.Description}");
    }
    foreach(var secondary in possibleConversions.Secondary) {
        Console.WriteLine($ "\t...can be converted to {secondary.Description}");
    }
}

Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net20 is compatible.  net35 was computed.  net40 was computed.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
24.10.0 2,251 10/31/2024
24.9.0 8,637 9/30/2024
24.8.0 7,978 8/23/2024
24.7.0 5,867 7/31/2024
24.6.0 11,119 6/28/2024
24.5.0 9,839 5/31/2024
24.4.0 11,811 4/30/2024
24.3.0 37,310 3/28/2024
24.2.0 20,098 2/29/2024
24.1.0 34,558 1/31/2024
23.12.0 24,824 12/22/2023
23.11.0 19,489 11/30/2023
23.10.0 17,961 10/31/2023
23.9.0 28,589 9/30/2023
23.8.0 26,143 8/31/2023
23.7.0 33,301 7/31/2023
23.6.0 74,742 6/20/2023
23.5.0 14,030 5/31/2023
23.4.0 28,293 4/28/2023
23.3.1 35,295 4/3/2023
23.3.0 12,852 3/30/2023
23.2.0 36,502 2/28/2023
23.1.0 139,933 1/31/2023
22.12.0 37,274 12/20/2022
22.11.0 14,538 11/30/2022
22.10.0 24,148 10/31/2022
22.9.0 29,958 9/30/2022
22.8.0 25,647 8/31/2022
22.7.0 81,489 7/31/2022
22.6.0 46,217 6/28/2022
22.5.0 23,984 5/31/2022
22.4.0 48,921 4/21/2022
22.2.0 57,483 3/1/2022
22.1.0 30,309 1/29/2022
21.11.0 24,805 11/30/2021
21.10.0 29,303 10/31/2021
21.9.1 25,354 10/6/2021
21.9.0 15,638 10/1/2021
21.8.0 19,631 8/3/2021
21.5.0 34,369 5/29/2021
21.3.1 34,394 4/12/2021
21.3.0 36,072 3/30/2021
21.2.0 37,670 2/28/2021
21.1.0 37,858 1/31/2021
20.12.0 66,073 12/21/2020
20.11.0 39,805 11/11/2020
20.10.0 32,656 10/14/2020
20.9.0 17,748 9/30/2020
20.8.0 28,153 8/31/2020
20.7.0 28,713 7/31/2020
20.6.0 100,482 6/9/2020
20.4.0 43,234 4/30/2020
20.3.0 55,610 3/19/2020
20.1.0 48,245 1/29/2020
19.12.1 44,451 1/2/2020
19.12.0 6,449 12/30/2019
19.11.0 39,243 11/30/2019
19.10.0 7,592 10/31/2019
19.9.0 10,758 9/23/2019
19.6.0 7,656 6/27/2019
19.5.0 4,941 5/28/2019
19.4.0 5,527 4/30/2019
19.3.0 4,774 3/6/2019
19.1.0 4,786 1/30/2019
18.11.0 4,857 11/30/2018
18.10.0 6,610 10/16/2018
18.9.0 4,934 9/30/2018
18.8.0 6,083 8/14/2018
18.7.0 4,923 7/9/2018
18.6.0 4,860 6/19/2018
18.5.0 4,894 5/23/2018
18.4.0 4,860 4/20/2018
18.3.0 4,221 3/21/2018
18.2.0 4,495 2/16/2018
18.1.0 4,803 1/23/2018
17.12.0 4,487 12/13/2017
17.11.0 4,410 11/19/2017
17.10.0 4,753 10/26/2017
17.9.0 4,770 9/20/2017