Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Huge text file problem

edited July 2003 in General
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

Comments

  • edited July 2003
    John,

    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.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited July 2003
    Ok, thanks
This discussion has been closed.