trichview.com

trichview.support




Re: Apply style


Return to index


Author

Message

Sergey Tkachenko

Posted: 11/19/2002 13:30:42


rve.Clear;

rve.AddTextNL(MultilineText, PlainTextStyleNo, TitleParaNo,

  PlainTextParaNo);

if rve.ItemCount>0 then

  rve.GetItem(0).StyleNo := TitleStyleNo;

rve.Format;


Where

MultilineText - text document from DB;

PlainTextStyleNo,  TitleStyleNo - indices in rve.Style.TextStyles,

PlainTextParaNo,  TitleParaNo - indices in rve.Style.ParaStyles


>

> >In several different ways.

> >Can you give more details - what do you want to do?

> >Should this change be undone/redone?

> >

> >>

> >> how can I set the Style to the RVData.items[0] ?

>

> I have some text in RVE, I am geting in from a Data Base and

>

> the first line (paragraph) is TITLE of that text and I need it to be BOLD,

> It is not necesary to be undone/redone.

>







Powered by ABC Amber Outlook Express Converter