trichview.support
Re: Reconstructing a textstyle |
Author |
Message |
Sergey Tkachenko |
Posted: 02/14/2003 19:32:18 You can use Assign methods of text styles to assign styles to each other. Style name is a StyleName property. Look at the demo in Demos\Delphi\Editors\Editor 2 It has a code that creates, for example, bold styles for all styles in the selected text > > Hello again, > How can I take a currently available textstyle and re-construct it with new > properties. Say, if I have a textstyle named 'normal' and I want to create > a new textstyle from 'normal' and named it as 'normal2'. In 'normal2' I want > the text to be BOLD and text color to be clRed. > > 1. How do I create this 'normal2'? > 2. How do I add by renaming to the RVStyle Textstyle? > > Thanks. > > P.s. > I have to test it thoroughly before I make a purchase. |
Powered by ABC Amber Outlook Express Converter