trichview.com

trichview.support




draw line on richView.canvas and  print.canvas


Return to index


Author

Message

mikee

Posted: 07/03/2002 19:17:51


i have draw some line on document .

bye  mouse nove event and richview onPaint event

the line is correspond to some words of the document .

then ,i want to print the document and the line .

i draw the line on the Canvas in onPagePrepaint event .

i found that the line can not correspond to and the words


how can i get the relation  of postion in richview.canvas and the  position

in the canvas of onPagePrepaint ..


i have set the maxtextWidth as the width of  PrintAreaRect

it looks like WYSWYG.






__________________________________________________________________ mikee

chen ICQ#: 160844439 Current ICQ status: + More ways to contact me

__________________________________________________________________





Powered by ABC Amber Outlook Express Converter