Convert files to various formats
You can try to convert a file online and download results for free using GroupDocs.Conversion Live Demo
GroupDocs.Conversion provides a quick and easy way to convert files from some source format to various range of target formats. Conversion process from the user’s point of view is pretty simple - source document is loaded to a converter and after conversion is completed, result is saved to a desired file path at local disk or other storage.
By default when performing internal calculations GroupDocs.Conversion for .NET will use some predefined settings that are most suitable for loading and saving specified file format. However, conversion process can always be adjusted by setting specific LoadOptions to modify the way source document is loaged - for example it’s needed to hide document comments, setup fonts substitution, set password for protected document etc. Also ConvertOptions class is used to manage converted document - add watermarks into resultant document, change pages orientation, set images height/widht or resolution and many more.
The common conversion workflow is always include the following 3 steps:
- Loading source document into a new instance of Converter class. You can provide file name with extension for this or document stream.
- Instantiate the needed ConvertOptions object according to your requirements and desired output format like PdfConvertOptions, PresentationConvertOptions, WordProcessingConvertOptions and others.
- Call Convert method of Converter object and pass file name to save converted document with the convert options object from the previous step).
These documentation articles are explaining in details how to convert a file to the most popular formats: