GroupDocs.Conversion for .NET 23.3 Release Notes
There are 10+ features, improvements and bug-fixes in this release.
Full list of changes in this release
Key | Category | Summary |
---|---|---|
CONVERSIONNET‑5292 | Feature | Implement GIS to PDF conversion |
CONVERSIONNET‑5291 | Feature | Implement GIS to Markup conversion |
CONVERSIONNET‑5290 | Feature | Implement GIS to Image conversion |
CONVERSIONNET‑5289 | Feature | Implement GIS to GIS conversion |
CONVERSIONNET‑5295 | Feature | Implement GIS to WordProcessing conversion |
CONVERSIONNET‑5294 | Feature | Implement GIS to Spreadsheet conversion |
CONVERSIONNET‑5293 | Feature | Implement GIS to Presentation conversion |
CONVERSIONNET‑5729 | Enhancement | Improve conversion and compression behavior |
CONVERSIONNET‑5896 | Enhancement | Improve performance of PDF to Image conversions when converting by page |
CONVERSIONNET‑5902 | Enhancement | Improve SVG to Spreadsheet conversion |
CONVERSIONNET‑5864 | Enhancement | Improve Fonts Embedding using FontSubsetStrategy |
CONVERSIONNET‑5866 | Fix | PDF to PNG: Slow conversion |
CONVERSIONNET‑5610 | Fix | Text overlap on images in PDF to DOCX Conversion |
CONVERSIONNET‑5885 | Fix | NullReferenceException when converting DXF files to PDF |
CONVERSIONNET‑5865 | Fix | PDF to PNG: Conversion doesn’t finish |
Major features
- Conversions from GIS to PDF, Markup, Image, GIS, Wordprocessing, Spreadsheet and Presentation formats.
- Improved conversion and compression behavior when using fluent syntax.
- Improved performance of PDF to Image conversions when converting by page.
Conversions of GIS formats
Support for GIS (Geographic Information System) formats was added. You can now convert GIS format to another GIS format, or another format family - PDF, Markup, Image, Word-processing, Spreadsheet or Presentation. For example, the following code sample demonstrates how to convert a GPX file to KML:
// Load the source GPX file
using (Converter converter = new Converter("sample.gpx"))
{
// Set the convert options for KML format
var options = new GisConvertOptions {
Format = GisFileType.Kml;
};
// Convert to KML format
converter.Convert("converted.kml", options);
}
Improved conversion and compression behavior
Now is possible to convert a document to images by page and compress all generated pages into an archive. For example, to convert a PDF to images by page and compress them into an archive you could use the following snippet:
var converter = new Converter();
converter.Load("sample.pdf")
.ConvertByPageTo(p => new MemoryStream()).WithOptions(new ImageConvertOptions
{
Format = ImageFileType.Png
})
.Compress(new CompressionConvertOptions { Format = CompressionFileType.Zip }).OnCompressionCompleted(
compressedStream =>
{
using (var fs = new FileStream("converted.zip", FileMode.Create))
{
compressedStream.CopyTo(fs);
}
})
.Convert();
Public API and backward incompatible changes
- Introduced new
GisLoadOptions
,GisConvertOptions
andGisFileType
classes. - Removed obsolete file types that were marked for removal in v23.3.