Browse our Products

Aspose.Diagram for .NET 19.7 Release Notes

Improvements and Changes

KeySummaryCategory
DIAGRAMNET-51219Get images from the print preview of a Visio PageEnhancement
DIAGRAMNET-51615Split Diagram to Multiple Pages while generating PDF DocumentEnhancement
DIAGRAMNET-51656Add support for monitoring the document conversion progressEnhancement
DIAGRAMNET-50045Incorrect line breaks when converting VSD to PDF formatBug
DIAGRAMNET-50075VSD to PDF conversion, incorrect text fontBug
DIAGRAMNET-50201VSD to PDF conversion, shapes are misplacedBug
DIAGRAMNET-50274VSDX to SVG conversion, the connection layouts are incorrectBug
DIAGRAMNET-51172Does not resize shape properly on saving in an image formatBug
DIAGRAMNET-51613AutoFitPageToDrawingContent property is not working as expectedBug
DIAGRAMNET-51657VISIO to JPG - output image is not in the correct formatBug
DIAGRAMNET-51658VSDX is getting corrupted after removing the unused themeBug
DIAGRAMNET-51659The background goes missing while removing unused themesBug
DIAGRAMNET-51660Shapes get missing after removing the unused themeBug

Public API and Backwards Incompatible Changes

The following is a list of any changes made to the public API such as added, renamed, removed or deprecated members as well as any non-backward compatible change made to Aspose.Diagram for .NET. If you have concerns about any change listed, please raise them in the Aspose.Diagram support forum.

Adds SplitMultiPages in PdfSaveOptions

 Aspose.Diagram.Saving.PdfSaveOptions o = new Aspose.Diagram.Saving.PdfSaveOptions();

o.SplitMultiPages = true;

diagram.Save("c:\\out.pdf", o);

Adds PageSavingCallback in PdfSaveOptions

 Aspose.Diagram.Saving.PdfSaveOptions od = new Aspose.Diagram.Saving.PdfSaveOptions();

od.PageSavingCallback = new TestDiagramPageSavingCallback();

d.Save("c:\\test.pdf", od);
 public class TestDiagramPageSavingCallback : Aspose.Diagram.Saving.IPageSavingCallback

{

    public void PageStartSaving(Aspose.Diagram.Saving.PageStartSavingArgs args)

    {

        Console.WriteLine("Start saving diagram page {0} of pages {1}", args.PageIndex + 1, args.PageCount);

    }

    public void PageEndSaving(Aspose.Diagram.Saving.PageEndSavingArgs args)

    {

        Console.WriteLine("End saving diagram page {0} of pages {1}", args.PageIndex + 1, args.PageCount);

        //don't output pages after page index 8.

        if (args.PageIndex >= 8)

        {

            args.HasMorePages = false;

        }

    }

}


 
 English