PrintPreview / RTF / GetRect

Please post bug reports, feature requests, or any question regarding the DELPHI AREA products here.

PrintPreview / RTF / GetRect

Postby Snake » May 26th, 2005, 7:04 pm

Hello,

first thank you very much for your great components! :D

And I have some questions about the RTF functions in PrintPreview:

1) Any chance that PaintRichText will support SetBkMode TRANSPARENT?

2) I need to get the smallest Rect for some short RTF texts as they are, without additional linebreaks (for headers/footers - left, middle and right).

As far as i understand GetRichTextRect should returns bottom margin from the given Rect? Because the result from GetRichTextRect is alway the same - independent from the given Richedit content/lines.
I would also need margin right from the given Rect.

Or anyone with better ideas howto get the length(units or pixel) of RichEdit.Lines with different fonts/styles etc in one line?

Thank your for your time!
Snake
Member
Member
 
Posts: 2
Joined: May 26th, 2005, 6:24 pm

Postby Snake » June 1st, 2005, 8:35 pm

Found a workaround for question 2.
Is there a solution for Question 1 (PaintRichText transparent), maybe i haven't spelled my questions correctly?

Thanks :)
Snake
Member
Member
 
Posts: 2
Joined: May 26th, 2005, 6:24 pm


Return to DELPHI AREA Products

Who is online

Users browsing this forum: No registered users and 8 guests

cron