GroupDocs.Conversion 20.6.0

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

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

.NET API for Document Conversion

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 format of specific pages based on 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.

New Features & Enhancements in Version 20.6

  • Implemented conversion from/to FODP format.
  • Implemented conversion from/to MD format.
  • Ability to convert XML files as data source.
  • Improved document info for PST/OST documents.

For the detailed notes, please visit GroupDocs.Conversion for .NET 20.6 Release Notes.

Conversion File Formats

GroupDocs.Conversion allows you to convert any of the following type of file formats: Spreadsheet: XLSX, XLSB, XLS2003, XLT, XLTX, XLTM, XLAM, XLS, XLSM, ODS, TSV, CSV
Document: DOC, DOCM, DOCX, DOT, DOTM, DOTX, RTF, TXT, ODT, OTT
Presentation: PPT, PPS, PPTX, PPSX, ODP, POT, POTX, POTM, PPTM, PPSM, FODP
Image: JPEG-LS, TIFF, TIF, JPEG, JPG, PNG, GIF, BMP, ICO, CMX, DIB, JPC
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
Markup: MD

to the following formats: Microsoft Excel: XLS, XLSM, XLSB, CSV, XLS2003, TSV, XLTX, XLTM, XLAM
Microsoft Word: DOC, DOCM, DOCX, DOT, DOTM, DOTX, RTF, TXT
Microsoft PowerPoint: PPT, PPS, PPTX, PPSX, POT, POTX, POTM, PPTM, PPSM
OpenDocument: ODT, OTT, ODS, ODP, OTP, FODP
Images: TIFF, TIF, JPEG, JPG, PNG, GIF, BMP, ICO, EMF, WMF
Fixed Layout: PDF, XPS
Web: HTM, HTML, MHTML
Markup: MD

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.

Getting Started with GroupDocs.Conversion for .NET

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);
}

Use C# to Fetch all Possible Conversion Formats

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 | Documentation | Demo | 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 was computed. 
.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.2.0 9,437 2/29/2024
24.1.0 9,528 1/31/2024
23.12.0 12,603 12/22/2023
23.11.0 11,297 11/30/2023
23.10.0 15,296 10/31/2023
23.9.0 19,544 9/30/2023
23.8.0 21,936 8/31/2023
23.7.0 24,646 7/31/2023
23.6.0 47,614 6/20/2023
23.5.0 12,464 5/31/2023
23.4.0 22,076 4/28/2023
23.3.1 30,699 4/3/2023
23.3.0 11,934 3/30/2023
23.2.0 34,268 2/28/2023
23.1.0 80,742 1/31/2023
22.12.0 31,891 12/20/2022
22.11.0 11,544 11/30/2022
22.10.0 19,987 10/31/2022
22.9.0 20,760 9/30/2022
22.8.0 23,563 8/31/2022
22.7.0 58,131 7/31/2022
22.6.0 41,531 6/28/2022
22.5.0 21,385 5/31/2022
22.4.0 44,026 4/21/2022
22.2.0 46,682 3/1/2022
22.1.0 26,202 1/29/2022
21.11.0 23,090 11/30/2021
21.10.0 26,504 10/31/2021
21.9.1 22,274 10/6/2021
21.9.0 13,436 10/1/2021
21.8.0 17,487 8/3/2021
21.5.0 28,431 5/29/2021
21.3.1 32,201 4/12/2021
21.3.0 24,680 3/30/2021
21.2.0 29,465 2/28/2021
21.1.0 26,893 1/31/2021
20.12.0 49,772 12/21/2020
20.11.0 30,261 11/11/2020
20.10.0 23,732 10/14/2020
20.9.0 16,125 9/30/2020
20.8.0 19,379 8/31/2020
20.7.0 19,585 7/31/2020
20.6.0 69,071 6/9/2020
20.4.0 29,177 4/30/2020
20.3.0 38,634 3/19/2020
20.1.0 33,907 1/29/2020
19.12.1 27,493 1/2/2020
19.12.0 5,881 12/30/2019
19.11.0 25,391 11/30/2019
19.10.0 7,035 10/31/2019
19.9.0 10,280 9/23/2019
19.6.0 7,097 6/27/2019
19.5.0 4,479 5/28/2019
19.4.0 5,104 4/30/2019
19.3.0 4,235 3/6/2019
19.1.0 4,374 1/30/2019
18.11.0 4,339 11/30/2018
18.10.0 6,122 10/16/2018
18.9.0 4,508 9/30/2018
18.8.0 5,399 8/14/2018
18.7.0 4,572 7/9/2018
18.6.0 4,458 6/19/2018
18.5.0 4,634 5/23/2018
18.4.0 4,437 4/20/2018
18.3.0 3,813 3/21/2018
18.2.0 4,161 2/16/2018
18.1.0 4,420 1/23/2018
17.12.0 4,162 12/13/2017
17.11.0 4,081 11/19/2017
17.10.0 4,419 10/26/2017
17.9.0 4,426 9/20/2017