Hi,
Is it possible to export/save all vsd pages as image or in pdf?
Thanks in advance,
Victor
Hi,
Hi,
Thanks for information. But if you try for example this code from your link
…….
using Aspose.Diagram;
…….
//Load diagram
Diagram vsdDiagram = new Diagram(@“D:\Templates\Drawing1.vsd”);
//Save as PDF
vsdDiagram.Save(@“D:\Output\Drawing1.pdf”, SaveFileFormat.PDF);
//Save as JPEG
vsdDiagram.Save(@“D:\Output\Drawing1.jpg”, SaveFileFormat.JPEG);
The output pdf will contain only the first page of input vsd file same for jpeg. Is it bug?
Hi,
Diagram diagram = new Diagram("input.vsd");
//Save diagram as BMP or other
ImageSaveOptions options = new ImageSaveOptions(SaveFileFormat.BMP);
options.PageIndex = 1;
MemoryStream stream = new MemoryStream();
diagram.Save(stream, options);
diagram.Save("c:\\temp\\Output.bmp", options);
Please let me know for further assistance and comments.
Thank you that exactly what I need.