trichview.com

trichview.support




Re: StyleNo


Return to index


Author

Message

Sergey Tkachenko

Posted: 08/27/2002 0:22:24


If you just want to set defaults, you can make any changes in preset styles,

modifying their properties (in Delphi IDE or in application code), adding

and deleting styles.

For example,

RVStyle1.TextStyles[0].Size := 12;

This will affect all document using this RVStyle and having text of this

style.


If you want to implement commands like "Change font size of selected text",

you need to add new styles with desired properties (like existing styles,

but with another font size).

Example:

http://www.trichview.com/support/files/redit.zip

Or you can use RichViewActions.



> How do I set the text to size 12 instead of default 10? I tried some

preset

> styles but they where very odd combinations with blue text, green

background

> etc.

>

>





Powered by ABC Amber Outlook Express Converter