In the attached file which we are printing in tiff, we want to fit the diagram in a page with viewbale/readable content.
We have tried many drawing and printing properties but, none of them seem to be working as per expected.
Sample code for propetirs that we used is as per following,
We’ve tried above solution and we have still found issue in content reading(not readable) and dimensions are not matched with our standards for letter paper.
Is there any recommendations/solutions for above stated issue?
@hemalp
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): DIAGRAMNET-53125
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
We need to print different scenarios PaperSizeFormat like letter, A4, etc. For the same file that’s why we set custom dimensions. In this situation, we are not able to use the below code.
@hemalp
The tiff file generated by the following code is different from the output above, please share your executable code to generate the output file above.
Diagram diagram = new Diagram(“Visio.vsd”);
Aspose.Diagram.Saving.ImageSaveOptions options = new Aspose.Diagram.Saving.ImageSaveOptions(SaveFileFormat.TIFF);
float width = (float)11 * 300f;
float heitht = (float)8.5 * 300f;
options.PageSize = new PageSize(width, heitht);
diagram.Save(“out.tiff”, options);
@hemalp
The file we generate with the above code is different from the output_3 file.
Could you please give us environment details with locale/regional settings and MS Visio language and version information. We will evaluate your issue further.
Thanks.
Thanks for providing us locale/regional settings details.
We reproduced the problems you mentioned,The generated TIFF page appears stretched.We need to evaluate your issue in details.
Thanks.