GroupDocs.Conversion 21.3.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package GroupDocs.Conversion --version 21.3.0                
NuGet\Install-Package GroupDocs.Conversion -Version 21.3.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.3.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GroupDocs.Conversion --version 21.3.0                
#r "nuget: GroupDocs.Conversion, 21.3.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.3.0

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

.NET API for Document Conversion

Version 21.3 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.9.0 2,261 9/30/2024
24.8.0 6,751 8/23/2024
24.7.0 4,389 7/31/2024
24.6.0 7,895 6/28/2024
24.5.0 8,044 5/31/2024
24.4.0 11,453 4/30/2024
24.3.0 32,897 3/28/2024
24.2.0 18,501 2/29/2024
24.1.0 29,239 1/31/2024
23.12.0 23,186 12/22/2023
23.11.0 18,424 11/30/2023
23.10.0 17,654 10/31/2023
23.9.0 26,967 9/30/2023
23.8.0 25,810 8/31/2023
23.7.0 31,960 7/31/2023
23.6.0 68,011 6/20/2023
23.5.0 13,821 5/31/2023
23.4.0 27,126 4/28/2023
23.3.1 34,399 4/3/2023
23.3.0 12,847 3/30/2023
23.2.0 36,240 2/28/2023
23.1.0 127,411 1/31/2023
22.12.0 36,615 12/20/2022
22.11.0 14,355 11/30/2022
22.10.0 23,675 10/31/2022
22.9.0 28,484 9/30/2022
22.8.0 25,415 8/31/2022
22.7.0 77,922 7/31/2022
22.6.0 46,044 6/28/2022
22.5.0 23,552 5/31/2022
22.4.0 48,238 4/21/2022
22.2.0 55,584 3/1/2022
22.1.0 29,590 1/29/2022
21.11.0 24,716 11/30/2021
21.10.0 28,605 10/31/2021
21.9.1 24,874 10/6/2021
21.9.0 15,126 10/1/2021
21.8.0 19,332 8/3/2021
21.5.0 33,053 5/29/2021
21.3.1 33,971 4/12/2021
21.3.0 35,276 3/30/2021
21.2.0 36,411 2/28/2021
21.1.0 37,222 1/31/2021
20.12.0 65,448 12/21/2020
20.11.0 39,294 11/11/2020
20.10.0 32,443 10/14/2020
20.9.0 17,398 9/30/2020
20.8.0 27,811 8/31/2020
20.7.0 28,362 7/31/2020
20.6.0 99,292 6/9/2020
20.4.0 42,644 4/30/2020
20.3.0 54,705 3/19/2020
20.1.0 47,693 1/29/2020
19.12.1 43,196 1/2/2020
19.12.0 6,410 12/30/2019
19.11.0 39,186 11/30/2019
19.10.0 7,556 10/31/2019
19.9.0 10,719 9/23/2019
19.6.0 7,592 6/27/2019
19.5.0 4,893 5/28/2019
19.4.0 5,511 4/30/2019
19.3.0 4,638 3/6/2019
19.1.0 4,771 1/30/2019
18.11.0 4,829 11/30/2018
18.10.0 6,595 10/16/2018
18.9.0 4,917 9/30/2018
18.8.0 5,984 8/14/2018
18.7.0 4,909 7/9/2018
18.6.0 4,845 6/19/2018
18.5.0 4,870 5/23/2018
18.4.0 4,827 4/20/2018
18.3.0 4,210 3/21/2018
18.2.0 4,473 2/16/2018
18.1.0 4,773 1/23/2018
17.12.0 4,465 12/13/2017
17.11.0 4,399 11/19/2017
17.10.0 4,741 10/26/2017
17.9.0 4,748 9/20/2017