Page 1 of 1

UseGdi32ForTextRendering

Posted: Mon Apr 09, 2012 4:34 am
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?


UseGdi32ForTextRendering

Posted: Tue Apr 10, 2012 11:11 pm
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.