ppRichText font ?
hello,
could anyone tell me what is the default font for a ppRichText component ?
The problem I get is that my customers only put text in it, without any
choice of font.
I wondered why on one site they print in a very condensed mode, on another
in wide mode, and so on. It seems that it's because Windows changes font
(because ppRichText default font is not installed ?). As I cannot put a font
in ppRichText component (or if I can, please tell me how !), I would like to
play with Windows 98 FontSubstitutes, but I have to know the default font
for ppRichText.
Thanks,
Christophe
could anyone tell me what is the default font for a ppRichText component ?
The problem I get is that my customers only put text in it, without any
choice of font.
I wondered why on one site they print in a very condensed mode, on another
in wide mode, and so on. It seems that it's because Windows changes font
(because ppRichText default font is not installed ?). As I cannot put a font
in ppRichText component (or if I can, please tell me how !), I would like to
play with Windows 98 FontSubstitutes, but I have to know the default font
for ppRichText.
Thanks,
Christophe
This discussion has been closed.
Comments
by using the Paragraph, SelAttributes, SelStart, SelLength, and SelText
properties and the ClearSelection, FindText, and SelectAll methods. These
are the same properties and methods associated with Delphi's TRichEdit
control. You should be able to read the TTextAttributes of SelAttributes to
read the name and size of the selected text.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com