GroupDocs.Conversion for .NET 18.11 comes with a lot of new features and some improvements. Conversion from EPS, TSV and PCL formats is introduced. Furthermore, API provides an option for page rotation when converting to PDF. Please check GroupDocs.Conversion for .NET 18.11 release notes for further reference.
Improvements
- Move HideWordTrackedChanges option to WordsLoadOptions class
- HidePdfAnnotations option to PdfLoadOptions class
- HideComments option to CellsLoadOptions, Slides CellsLoadOptions and WordsLoadOptions class
Features
Setting Default Font and Font Substitution Options
When Converting OneNote Document
const string source = "source.one";
var loadOptions = new OneLoadOptions
{
DefaultFont = "Helvetica",
};
loadOptions.FontSubstitutes.Add(new KeyValuePair("Arial", "Helvetica"));
loadOptions.FontSubstitutes.Add(new KeyValuePair("Harriet", "Transcript"));
Set default font when converting from Diagram
const string source = "source.vsd";
var loadOptions = new DiagramLoadOptions
{
DefaultFont = "Helvetica",
};
Measure Conversion Time
Measure conversion time and return it as a property of ConvertedDocument classvar convertedDocument = conversionHandler.Convert(source, saveOptions);
Console.WriteLine("Elapsed time: {0}ms", convertedDocument.Elapsed);
Rotation Feature
When Converting to PDF Format
Implement rotation feature when converting to PDFvar saveOptions = new PdfSaveOptions {
Rotate = PdfSaveOptions.Rotation.On90
};
When Converting to Image
var saveOptions = new ImageSaveOptions {
RotateAngle = 45
};
Flatten all Form Fields
Option to flatten all form fields when converting PDF documentsvar loadOptions = new PdfLoadOptions
{
FlattenAllFields = true
};
Include Hidden Slides in Converted Document
Include hidden Slides in converted document when converting from Slidesvar loadOptions = new SlidesLoadOptions
{
ShowHiddenSlides = true
};
New Document Formats Introduced
GroupDocs.Conversion for .NET 18.11 implements conversion from EPS, PCL and TSV. You can also convert documents to TSV format.API Resources
Here are a few channels and resources for you to download, learn, try and get technical support on GroupDocs.Conversion:- NuGet – Nuget install
- Documentation – Product Wiki
- Video Tutorials – YouTube Videos
- Product Support Forum – Technical Support Forum for GroupDocs.Conversion
- Examples/Plugins/Showcases – GitHub Source Code Examples