Re: Read text file to Temp file and apply formating and color chan
- From: Peter Duniho <NpOeStPeAdM@xxxxxxxxxxxxxxxx>
- Date: Tue, 21 Aug 2007 09:36:27 -0700
Brian Cook wrote:
Sure thing Peter, Here is the code. Do you need me to email you a sample file?
No. As I said in my post, your sample code should auto-generate some relevant data. That way, no one has to have an exact copy of the sample file you are using.
Also, I have asked twice already whether you have tried pre-formatting the text and then assigning the RTF string to the RichTextBox.Rtf property. You haven't answered that question yet. IMHO, that technique is likely to give you the best performance. If nothing else, it will make clear where the performance bottleneck is (assuming you bother to time the individual sections of your initialization, of course).
Please at least answer that question, even if you have no intention of trying the suggestion.
Pete
.
- References:
- Re: Read text file to Temp file and apply formating and color changes
- From: Nicholas Paldino [.NET/C# MVP]
- Re: Read text file to Temp file and apply formating and color chan
- From: Peter Duniho
- Re: Read text file to Temp file and apply formating and color chan
- From: Brian Cook
- Re: Read text file to Temp file and apply formating and color chan
- From: Peter Duniho
- Re: Read text file to Temp file and apply formating and color chan
- From: Peter Duniho
- Re: Read text file to Temp file and apply formating and color chan
- From: Brian Cook
- Re: Read text file to Temp file and apply formating and color changes
- Prev by Date: Re: How do I create an embeddable object?
- Next by Date: Re: child type cannot be used as generic type parameter
- Previous by thread: Re: Read text file to Temp file and apply formating and color chan
- Next by thread: Re: Read text file to Temp file and apply formating and color chan
- Index(es):