We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Print View Grid

Thread ID:





38377 Dec 11,2005 05:41 PM UTC Dec 13,2005 07:36 PM UTC WinForms 1
Tags: Diagram
Tim Wendland
Asked On December 11, 2005 05:41 PM UTC

Hello, I would like to have the view grid displayed on an image i''m saving as a Jpeg from the diagram. Is there a way to do this?

Administrator [Syncfusion]
Replied On December 13, 2005 07:36 PM UTC

Hi Tim, The current version of Essential Diagram does not have support for drawing the layout grid to an exported image of the diagram. I will go ahead and log this as a feature request, and we will provide the functionality in a future version of the product. For the time being, you can implement this functionality by subclassing the diagram''s View class, and providing a suitable override of the Diagram.View.ExportDiagramAsImage() (and View.ExportDiagramToGraphics(Graphics) if you are using v or later) that draws the layout grid as well when rendering the diagram to the image. Layout grid drawing is performed by the View''s Grid object, and referring to the View.Draw(Graphics) method should give you an idea on how to go about adding the layout grid drawing to your ExportDiagramAsImage override. If you do not have access to the diagram source code and are interested in taking a look at the View class implementation, please file a support incident using our Direct-Trac system, and I can send it to you through it. Regards, Prakash Surendra Syncfusion Inc.,


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon