GroupDocs.Conversion
24.5.0-alpha-20240531035009
See the version list below for details.
dotnet add package GroupDocs.Conversion --version 24.5.0-alpha-20240531035009
NuGet\Install-Package GroupDocs.Conversion -Version 24.5.0-alpha-20240531035009
<PackageReference Include="GroupDocs.Conversion" Version="24.5.0-alpha-20240531035009" />
paket add GroupDocs.Conversion --version 24.5.0-alpha-20240531035009
#r "nuget: GroupDocs.Conversion, 24.5.0-alpha-20240531035009"
// Install GroupDocs.Conversion as a Cake Addin #addin nuget:?package=GroupDocs.Conversion&version=24.5.0-alpha-20240531035009&prerelease // Install GroupDocs.Conversion as a Cake Tool #tool nuget:?package=GroupDocs.Conversion&version=24.5.0-alpha-20240531035009&prerelease
Document Conversion .NET API
Product Page | Docs | Demos | API Reference | Examples | Blog | Releases | Free Support | Temporary License
GroupDocs.Conversion
is a class-library that enables you to build seamless document conversion applications for mobile, web, and desktop platforms using C#, F#, or VB.NET. It supports more than 10 000 combinations for converting popular file formats in HTML, PNG, JPEG, and PDF. Our library is self-sufficient and doesn't depend on any third-party software, such as Microsoft Word, OpenOffice, or other office suites.
Features
- Thousands of different file conversion pairs: office documents, presentations, spreadsheets, images and much more.
- Ability to convert whole document or specific pages range.
- Place watermarks at document pages during conversion.
- Huge amount of additional options to customize the appearance of the converted document.
- 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.
See the Features overview documentation topic for more details.
Supported platforms
- Windows: Microsoft Windows XP and later, Microsoft Windows Server 2003 and later.
- Linux: Ubuntu, OpenSUSE, CentOS and others.
- Mac OS X Catalina (10.15) and later.
If you build applications for Linux and macOS, we recommend using GroupDocs.Conversion.CrossPlatform package instead of this one. GroupDocs.Conversion.CrossPlatform
does not use on System.Drawing.Common
as a graphical subsystem, which is only supported on Windows.
See the System requirements documentation topic for more details.
Supported formats
- Documents: PDF, XPS, TEX
- Word: DOC, DOCX, DOCM, DOT, DOTX, DOTM, RTF, TXT
- Powepoint: PPT, PPTX, PPS, PPSX, ODP, OTP
- Excel: XLS, XLSX, XLSM, XLSB, XLTM, XLTX, XLT, XLAM
- Visio: VSDX, VSDM, VSSX, VSTX, VSTM, VSSM, VSX, VTX, VDX
- OpenDocument: ODT, OTT, ODS
- Images: BMP, JPEG, PNG, GIF, TIFF, SVG, PS
- Diagram: VSDX, DRAW, LUCIDCHART
- CAD & GIS: DWG, DXF, DWF, IFC, SHP, KML, GEOJSON
- Audio: MP3, WAV, FLAC, AAC, OGG
- Video: MP4, AVI, MKV, MOV, WMV
- 3D & Vector: SVG, AI, EPS, CDR, STL, OBJ, FBX, DAE, GLB
- eBook: EPUB, MOBI, AZW, FB2
- Web: HTML, MHTML, MHT
- Archives: ZIP, TAR, RAR, 7Z, BZ2, GZ
- Email & Outlook: PST, OST, MSG, EML
- Finance: QFX, OFX
- OneNote: ONE
See the Supported file formats documentation topic for a complete list of supported formats.
Getting Started
To get started with GroupDocs.Conversion
first you have to install the package using the command for your tool that you can find at the beginning of this page.
You can run the following code snippets in C# to see how our library works. Also feel free to check out the GitHub Repository for other common use cases.
Convert PDF to DOCX
// Load the source PDF file
using (var converter = new Converter("resume.pdf"))
{
// Set the convert options
var convertOptions = new WordProcessingConvertOptions();
// Convert PDF to DOCX
converter.Convert("resume.docx", convertOptions);
}
Convert PDF to PNG
using GroupDocs.Conversion;
using GroupDocs.Conversion.FileTypes;
using GroupDocs.Conversion.Options.Convert;
// Load the source PDF file
using (var converter = new Converter("resume.pdf"))
{
var getPageStream = (int page) => File.Create($"resume-page-{page}.png");
// Set the convert options and specify the output image type
var convertOptions = new ImageConvertOptions {
Format = ImageFileType.Png
};
// Convert each page of PDF document to PNG
converter.Convert(getPageStream, convertOptions);
}
Convert DOCX (pages 2-4) to PDF
using GroupDocs.Conversion;
using GroupDocs.Conversion.Options.Convert;
// Load the source DOCX file
using (Converter converter = new Converter("booklet.docx"))
{
// Set the options and specify the range of pages to convert
var convertOptions = new PdfConvertOptions
{
PageNumber = 2,
PagesCount = 3
};
// Convert pages 2-4 to PDF
converter.Convert("pages-2-4.pdf", convertOptions);
}
Convert DOCX to PDF using fluent syntax
using GroupDocs.Conversion;
FluentConverter
.Load("schedule.docx")
.ConvertTo("schedule.pdf")
.Convert();
Support
Our technical support is available to all users, including those evaluating our product. We offer assistance through our Free Support Forum and Paid Support Helpdesk. Let us know if you have any questions or issues, and we'll do our best to help you.
Product Page | Docs | Demos | API Reference | Examples | Blog | Releases | Free Support | Temporary License
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. 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 Framework | net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETFramework 4.6.2
- Microsoft.Extensions.Logging.Abstractions (>= 7.0.0)
- System.Diagnostics.DiagnosticSource (>= 7.0.0)
- System.Drawing.Common (>= 4.7.3)
- System.Numerics.Vectors (>= 4.5.0)
- System.Reflection.MetadataLoadContext (>= 7.0.0)
- System.Security.Permissions (>= 4.5.0)
- System.Text.Encoding.CodePages (>= 8.0.0)
- System.Text.Json (>= 6.0.0)
-
net6.0
- Aspose.Drawing.Common (>= 24.4.0)
- Microsoft.Extensions.DependencyModel (>= 2.0.4)
- Microsoft.Extensions.Logging.Abstractions (>= 7.0.0)
- Newtonsoft.Json (>= 13.0.3)
- SkiaSharp (>= 2.88.8)
- System.Diagnostics.DiagnosticSource (>= 7.0.0)
- System.Drawing.Common (>= 7.0.0)
- System.Numerics.Vectors (>= 4.5.0)
- System.Reflection.MetadataLoadContext (>= 7.0.0)
- System.Security.Cryptography.Pkcs (>= 8.0.0)
- System.Security.Permissions (>= 6.0.0)
- System.Text.Encoding.CodePages (>= 8.0.0)
GitHub repositories
This package is not used by any popular GitHub repositories.