GroupDocs.Conversion for .NET offers simple set of APIs, enabling developers to build powerful document conversion applications in C#, ASP.NET and other .NET related technologies. GroupDocs.Conversion for .NET API provides fast, efficient and reliable file conversion solution to your end-users. It supports performing accurate conversions among all popular business document formats including: PDF, HTML, Email, Microsoft Word documents, Excel spreadsheets, PowerPoint presentations, Project, Photoshop, CorelDraw, AutoCAD, diagrams, raster image file formats and many more. The document converter library auto-detects source document format and gives you all the control to convert either the whole document or specific pages to the desired output format. It’s easier to replace missing fonts with preferred ones and add text or image watermarks to any document page.
GroupDocs.Conversion for .NET can be used to develop applications in any development environment that targets .NET platform. It is compatible with all .NET based languages and supports popular operating systems (Windows, Linux, MacOS) where Mono or .NET frameworks (including .NET Core) can be installed.
Easy Integration & Metered Licensing
Set Default Zoom Option when Converting to Words, Slides or Cells
Convert to/from all Popular Raster Image Formats & Assign Image DPI, Height & Width
Convert PDF & Image to Grayscale & Linearize PDF Document for the Web
Specify Bookmark Level, Heading Level and Expanded Level in Word to PDF/XPS Conversion
Configure & Place Watermark in Converted Document as Background to Display Behind Text
Render Email Header during Conversion from Email
Set Custom Font Directories & Explicitly Load/Substitute Font during Document Conversion
Set Default Font to Replace Missing Fonts for Documents, Slides & Spreadsheets Conversion
Advanced Conversion Methods to return the Output as Path or IO Stream
Convert Spreadsheet with Grid-lines & Remove Comments from Slides While Conversion
Convert Specific Document Pages as PDF Format & Convert Specific Cell Range in Spreadsheets
Show Hidden Sheets & Skip Empty Rows and Columns while Converting Spreadsheets
Count Total Pages of a Document & Set Password to Unprotected Document during Conversion
Option to Remove Annotations & Embedded Files from PDF
Create HTML 5 Compliant Markup when Converting to HTML
Auto-detect Source Type & Return all Possible Conversions when Converting from Stream
Ability to Return Each Page in Separate Stream while Converting to PDF or HTML
Show/Hide Markup, Comments & Track Changes while Converting from Word
DOCX to Tiff G3 Conversion with Shading Option
Convert Specific Layouts when Converting from CAD Document
Automatic Naming when Saving Converted Document to File
Metered Licensing Supported to be Billed based on the Usage of the API
Convert Diagrams to Word Processing File Formats
Add Page Numbers while Converting HTML to Wordprocessing Document
Convert XML Documents to Any Format without Transformation
Monitor File Conversion Progress (Start, End) Directly from Client-side Application
Using GroupDocs.Conversion for .NET, converting document file format is very easy. Following example shows you how to convert a PDF file into a DOC file using C#:
// Setup Conversion configuration and Initailize ConversionHandler
ConversionConfig config = new ConversionConfig();
config.StoragePath = @"D:\storage\";
// Initailize ConversionHandler
ConversionHandler conversionHandler = new ConversionHandler(config);
// Convert and save converted document
var convertedDocumentPath = conversionHandler.Convert("sample.pdf", new WordsSaveOptions { });
convertedDocumentPath.Save("result-" + Path.GetFileNameWithoutExtension("sample.pdf") + ".doc");
GroupDocs.Conversion for .NET API supports document conversion to and from various image formats. While converting from some other format to image, you can adjust numerous properties of the images. Our conversion API allows you to adjust brightness, contrast, gamma properties. You can also flip the image. And in case of conversion to JPEG format, you can set color mode and compression mode of the file.
GroupDocs.Conversion for .NET API supports document conversion to following PDF types/formats: