Articles in this section
Category / Section

Modifying the TextRendering setting to Getting High quality Image

1 min read

Modifying the TextRendering Setting to Getting High quality Image

To improve the character appearance and to avoid anti-aliasing troubles while exporting diagram as image, modify the Textrendering style as "SingleBitPerPixelGridFit".

 

The below code snippet used set the TextRendering style as “SingleBitPerPixelGridFit” format.

 

[C#]

 

diagram1.Model.RenderingStyle.TextRenderingHint = System.Drawing.Text.TextRenderingHint.SingleBitPerPixelGridFit;
 

 

[VB]

 

diagram1.Model.RenderingStyle.TextRenderingHint = System.Drawing.Text.TextRenderingHint.SingleBitPerPixelGridFit;
 

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied