How to change line spacing and font in a DBRichText
I am using a DBRichText component to present some text that needs specific
formatiing (Hanging Indents). I am using the OnPrint event to apply the
Paragraph.FirstIndent and Paragraph.LeftIndent properties.
I would also like to change the font and leading, but am not having much
luck. Any suggestions?
Thanks
formatiing (Hanging Indents). I am using the OnPrint event to apply the
Paragraph.FirstIndent and Paragraph.LeftIndent properties.
I would also like to change the font and leading, but am not having much
luck. Any suggestions?
Thanks
This discussion has been closed.
Comments
Take a look at the SelAttributes property. This is a TTextAttributes object
and gives access to the font properties.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com