Justify Alignment Not Working when Printing Richtextbox with C#

  • Thread starter Thread starter Jason Xu
  • Start date Start date
J

Jason Xu

Hello,
I am working on printing richtext with C# by sending
EM_FORMATRANGE message to the underlying richedit
control.
I can set the text format by sending EM_SETPARAFORMAT
message now. However, when I tried to set the wAlignment
to be PFA_JUSTIFY, it didn't work. I know it only works
with Rich Edit 2.0 or later version. Isn't Windows Forms
using the newest richedit control?
How can I upgrade it if it is because of that?

Many Thanks,

Jason
 
Back
Top