Printing Class Library PrintRotatedText
-
There is a great article here: Printing Class Library[^] on how to print. I have read the article since 1999 and am hoping there are others out there that use this class. There is this function: pPage->PrintRotatedText(2.30,0.72,0.50,0.85,TEXT_NORMAL|TEXT_NOCLIP,9,"some text",90*10); which will rotate the text 90 degrees. My problem is, the text is rotated and left justified and I need it to be rotated and right justified. If I try changing the flags to TEXT_RIGHT or TEXT_CENTER, the text still is left justified. Any chance, any one knows how to rotate text and make it right justified. Im trying to rotate these numbers and it looks silly having them left justified. Please, any response any one can give me will be greatly appreciated. Sincerely, Danielle Brina
-
There is a great article here: Printing Class Library[^] on how to print. I have read the article since 1999 and am hoping there are others out there that use this class. There is this function: pPage->PrintRotatedText(2.30,0.72,0.50,0.85,TEXT_NORMAL|TEXT_NOCLIP,9,"some text",90*10); which will rotate the text 90 degrees. My problem is, the text is rotated and left justified and I need it to be rotated and right justified. If I try changing the flags to TEXT_RIGHT or TEXT_CENTER, the text still is left justified. Any chance, any one knows how to rotate text and make it right justified. Im trying to rotate these numbers and it looks silly having them left justified. Please, any response any one can give me will be greatly appreciated. Sincerely, Danielle Brina
I haven't tested this, but a quick look through the source suggests that the line
m_PrtDesc.uTextFlags = flags;
is missing in the PrintRotatedText function.
If you vote me down, my score will only get lower
-
I haven't tested this, but a quick look through the source suggests that the line
m_PrtDesc.uTextFlags = flags;
is missing in the PrintRotatedText function.
If you vote me down, my score will only get lower