|107965||Mar 26,2013 11:58 AM UTC||Apr 15,2013 04:43 AM UTC||WinForms||4|
I 've been trying to export a diagram as an image but I get the next error: "The parameter is not valid".
Any idea? I think that the diagram have some error, but it is impossible for me to identify the problem.
Could you help me?
Thanks in advanced.
The problem is with the attached .edd file. When I try to convert the .edd file in a .jpg file I get the error "parameter is not valid".
I send you the .edd file that I'm trying to convert in .jpg.
I would be very grateful for any help you could might be able to give me.
Thanks for your interest in Syncfusion products.
We suggest you to set the ‘ClipModelBounds’ property of the ExportDiagramAsImage method to ‘true’ to resolve the reported issue. Please refer the below code snippet to achieve your requirement.
Here is the code:
Image img = diagram1.ExportDiagramAsImage(true);
Here is the sample:
Please let us know if you have any queries.
Amsath Ali. M
It works properly, thanks!!
Thanks for your update.
We are happy to hear that the issue has been resolved.
Please let us know if you require any further assistance. We would be happy to help you out.
Amsath Ali. M
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.
or the page will be automatically redirected to sign-in page in 10 seconds.