Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

Nuget Nuget GitHub

Document Conversion API for .NET

GroupDocs.Conversion for .NET is a powerful on-premise library used for documents conversion with flexible options for the resulting document. Convert DOC to PDF, PDF to DOC, XLS to DOC, PDF to XLS, PPT to PDF and many other popular document formats with just a few lines of code.

Directory Description
Docs Product documentation containing Developer's Guide, Release Notes & more.
Demos The open source UI examples to integrate GroupDocs.Conversion in front end applications. Source code for the live demos hosted at https://products.groupdocs.app/conversion/family.
Examples Package contains C# example project & sample documents used in the examples.
Plugins Contains Visual Studio plugins related to GroupDocs.Conversion.

Document & Image Conversion Features

Conversion 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

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, HTML Body, is_Encrypted, is_Signed
Image: Image Width, Image Height, Image Format
CAD Drawing: Collections of layout and layers
PDF Document: Page Count, Author, Creation Date, is_Landscaped, is_Encrypted

Develop & Deploy GroupDocs.Conversion Anywhere

Microsoft Windows: Windows Desktop (x86, x64), Windows Server (x86, x64), Windows Azure
macOS: Mac OS X
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: .NET Standard 2.0, .NET Framework 2.0 or higher, .NET Core 2.0 or higher, Mono Framework 1.2 or higher

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.

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

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

Home | Product Page | Documentation | Demo | API Reference | Examples | Blog | Free Support | Temporary License