Huge text file problem
I have been asked to go through a 7 meg text file and put certain sections
of it in green and others in red font.
Now what i would like to know is this.
I am thinking of attaching the different sections of text to a
ppTextPipeline and printing them via that, but i need to know if and how to
i can change the font color so it prints in the correct color.
Many thanks
John
of it in green and others in red font.
Now what i would like to know is this.
I am thinking of attaching the different sections of text to a
ppTextPipeline and printing them via that, but i need to know if and how to
i can change the font color so it prints in the correct color.
Many thanks
John
This discussion has been closed.
Comments
I would suggest loading the entire text file into a rich text component and
formating it from there at run time. You can use the rich text properties
SelStart, and SelLength to define which sections of text need to be
different colors. Then use the SelAttributes to change the color.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com