Displaying the diagrams on Winforms


Hello There,

I want do display shapes in the drawing area, in Winforms . The drawing area is the blue area

Please refer attachment. I have gone through the link at
http://www.aspose.com/docs/display/diagramnet/Add+and+Connect+Shapes

But I would like to display the diagram in Winforms drawing area.

Please help

Thanks
Sujay




Hi Sujay,

Thank you for contacting support. Please note that Aspose.Diagram for .NET is a class library for working with Visio drawings programmatically. It provides programmatic access through a rich API to all drawing elements and formatting that allows to create, modify, extract, copy and replace document content without using Microsoft Visio. It mimics the behavior of Microsoft Visio. It works with VSD, VSDX, VSS, VST, VSX, VTX, VDW and VDX files on C#, VB.NET, ASP.NET web applications, web services, Mono and Windows applications.

However, It does not provide any user interface control for editing or viewing documents in win forms. You can easily display Visio drawings in win forms by converting to images and view the images in win forms. Please use the following code snippet to convert your document to images.

We hope this helps. Please let us know if you have any other queries.