GroupDocs.Conversion 20.8.0

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

// Install GroupDocs.Conversion as a Cake Tool
#tool nuget:?package=GroupDocs.Conversion&version=20.8.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.8

  • Support for conversions from LOG file format.
  • Extended WordprocessingDocumentInfo with TableOfContents property.
  • Extended PdfDocumentInfo with TableOfContents property.

For the detailed notes, please visit GroupDocs.Conversion for .NET 20.8 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, SXC
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, AI, SVGZ
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 Metafile: EMZ, WMZ Other: LOG

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

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 | 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 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.10.0 6,672 10/31/2024
24.9.0 10,176 9/30/2024
24.8.0 8,634 8/23/2024
24.7.0 6,564 7/31/2024
24.6.0 12,777 6/28/2024
24.5.0 10,557 5/31/2024
24.4.0 12,497 4/30/2024
24.3.0 39,153 3/28/2024
24.2.0 20,328 2/29/2024
24.1.0 38,441 1/31/2024
23.12.0 25,855 12/22/2023
23.11.0 20,221 11/30/2023
23.10.0 18,301 10/31/2023
23.9.0 29,276 9/30/2023
23.8.0 26,524 8/31/2023
23.7.0 34,190 7/31/2023
23.6.0 78,618 6/20/2023
23.5.0 14,066 5/31/2023
23.4.0 28,954 4/28/2023
23.3.1 35,854 4/3/2023
23.3.0 12,891 3/30/2023
23.2.0 36,875 2/28/2023
23.1.0 147,084 1/31/2023
22.12.0 37,603 12/20/2022
22.11.0 14,725 11/30/2022
22.10.0 24,320 10/31/2022
22.9.0 30,465 9/30/2022
22.8.0 25,683 8/31/2022
22.7.0 83,417 7/31/2022
22.6.0 46,345 6/28/2022
22.5.0 24,131 5/31/2022
22.4.0 49,392 4/21/2022
22.2.0 58,112 3/1/2022
22.1.0 30,701 1/29/2022
21.11.0 24,897 11/30/2021
21.10.0 29,688 10/31/2021
21.9.1 25,478 10/6/2021
21.9.0 15,765 10/1/2021
21.8.0 19,757 8/3/2021
21.5.0 34,629 5/29/2021
21.3.1 34,540 4/12/2021
21.3.0 36,341 3/30/2021
21.2.0 38,450 2/28/2021
21.1.0 38,127 1/31/2021
20.12.0 66,549 12/21/2020
20.11.0 40,098 11/11/2020
20.10.0 32,862 10/14/2020
20.9.0 17,891 9/30/2020
20.8.0 28,356 8/31/2020
20.7.0 28,945 7/31/2020
20.6.0 101,202 6/9/2020
20.4.0 43,491 4/30/2020
20.3.0 56,130 3/19/2020
20.1.0 48,526 1/29/2020
19.12.1 44,743 1/2/2020
19.12.0 6,469 12/30/2019
19.11.0 39,263 11/30/2019
19.10.0 7,611 10/31/2019
19.9.0 10,782 9/23/2019
19.6.0 7,671 6/27/2019
19.5.0 4,965 5/28/2019
19.4.0 5,540 4/30/2019
19.3.0 4,787 3/6/2019
19.1.0 4,799 1/30/2019
18.11.0 4,872 11/30/2018
18.10.0 6,624 10/16/2018
18.9.0 4,937 9/30/2018
18.8.0 6,157 8/14/2018
18.7.0 4,936 7/9/2018
18.6.0 4,873 6/19/2018
18.5.0 4,917 5/23/2018
18.4.0 4,882 4/20/2018
18.3.0 4,232 3/21/2018
18.2.0 4,507 2/16/2018
18.1.0 4,828 1/23/2018
17.12.0 4,499 12/13/2017
17.11.0 4,421 11/19/2017
17.10.0 4,764 10/26/2017
17.9.0 4,804 9/20/2017