By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,968 Members | 1,852 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,968 IT Pros & Developers. It's quick & easy.

Set Alignment when printing Richtext with C#

P: n/a
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
Jul 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.