UseGdi32ForTextRendering

Stimulsoft Ultimate discussion
Post Reply
sewcj
Posts: 4
Joined: Thu Dec 29, 2011 8:41 pm

UseGdi32ForTextRendering

Post by sewcj »

Hi..


When we set StiOptions.Engine.UseGdi32ForTextRendering to true, Text Component which has justify format become center if we are to print the rendered report.

Is there any way to work around this?

Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

UseGdi32ForTextRendering

Post by Andrew »

Hello,

When enabling the UseGdi32ForTextRendering option, the text is displayed using the system method TextRenderer.DrawText (). Unfortunately, this method is not able to output fully justified text (StiTextHorAlignment == Width).
Therefore, the default width alignment is replaced by the center alignment.

Thank you.
Post Reply