trichview.com

trichview.support




Re: Changing Fonts


Return to index


Author

Message

Jonathan Allen

Posted: 04/28/2005 21:20:49


Never mind. I have figured out the problem. It turned out the be something

a bit subtle. Upon loading the document the styles were being deleted from

the TRVStyle component due to the load options . Now after loading a document,

I simply check that all the styles I need are dynamically inserted into the

TRVStyles component.



"Jonathan Allen" <jonathanfallen@gmail.com> wrote:

>

>I am inserting a table dynamically then iterating through the records inserting

>text. I am doing the following

>

>Cells[X,Y].Clear;

>Cells[X,Y].AddNL(#252, WINGDING_STYLENO, 0);

>

>As the constant WINGDING_STYLENO indicated this is a style with the font

>set to Wingdings. I am attempting to insert a checkmark here. The problem

>is that the font is still Arial. Why doesn't the font change to my Wingdings

>font according to my Style setting?

>

>FYI, the inserted table IS being placed in a item position where a replaceable

>parameter once was. I essentially identify the item as a replaceable parameter,

>delete the identifier tag and insert the new table in that items position.





Powered by ABC Amber Outlook Express Converter