GroupDocs.Conversion For .NET 16.11.0 Release Notes

Major Features

There are 12 new features, improvements and fixes in this regular monthly release. The most notable are:

  • Conversions from DjVu format
  • Conversions from EMF format
  • Conversions from WMF format
  • Conversions from DICOM format
  • Conversions from OTP format
  • Helper method to return possible conversions from file extension or stream
  • Helper method to return pages count of a document which will be converted
  • Improved progress reporting
  • Improved performance of Word to Pdf and Word to Epub conversions

Full List of Issues Covering all Changes in this Release

KeySummaryCategory
CONVERSIONNET-1387Implement OTP file format conversionNew Feature
CONVERSIONNET-1413Implement DICOM file format conversionNew Feature
CONVERSIONNET-1418Implement conversion from WMFNew Feature
CONVERSIONNET-1419Implement conversion from EMFNew Feature
CONVERSIONNET-1447Count total pages of a documentNew Feature
CONVERSIONNET-1458Return all possible conversions from file extension or streamNew Feature
CONVERSIONNET-1425Implement conversion from DjVuNew Feature
CONVERSIONNET-1376Improve performance of Word to Pdf and Word to Epub conversionsImprovement
CONVERSIONNET-1400Improve progress reportingImprovement
CONVERSIONNET-1399Progress report is not workingBug
CONVERSIONNET-1424Mssing “Fixedlayout” Property while Updating VB ExampleBug
CONVERSIONNET-1414File name contains extra symbolsBug

Public API and Backward Incompatible Changes

How to get pages count of a document which will be converted

const string sourceFileName = "sample.docx"; //TODO: Put the source filename here
// Setup Conversion configuration \\
var conversionConfig = new ConversionConfig \\ {\\
 CachePath = "cache",\\
 StoragePath = "."\\
 };
var conversionHandler = new ConversionHandler(conversionConfig);

 var count = conversionHandler.GetDocumentPagesCount(sourceFileName);


How to get possible conversions from file extension

const string sourceFileName = "sample.docx"; //TODO: Put the source filename here
// Setup Conversion configuration
var conversionConfig = new ConversionConfig
 { CachePath = "cache",\ StoragePath = "." };
var conversionHandler = new ConversionHandler(conversionConfig);

string[] possibleConversions = conversionHandler.GetPossibleConversions(".docx");


How to get possible conversions from stream

 const string sourceFileName = "./sample.docx"; //TODO: Put the source filename here |

// Setup Conversion configuration
var conversionConfig = new ConversionConfig
{
CachePath = "cache",
StoragePath = "."
};
var conversionHandler = new ConversionHandler(conversionConfig);

using (var fileStream = new FileStream(sourceFileName, FileMode.Open, FileAccess.Read))
{
string[] possibleConversions = conversionHandler.GetPossibleConversions(fileStream);
}