Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 15th, 2006, 08:00 AM
Registered User
 
Join Date: Feb 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Write to a text file in a specific font and color

Hello !

I want to write to a text file in a specific font and color.

Any ideas ?

Thanks...
 
Old May 21st, 2006, 03:03 AM
Registered User
 
Join Date: Nov 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

You can use Microsoft RTF format to write text with diffrent font options.
RTF can be displayed in Wordpad.

If you want a normal textfile, then the user wont be able to see the color or font of the text.

Most simple way is to use the RTF format.

Patrick






Similar Threads
Thread Thread Starter Forum Replies Last Post
set font in text file! dpkbahuguna Beginning VB 6 2 August 23rd, 2007 07:08 AM
How to write to text file ? method Beginning VB 6 1 April 13th, 2006 01:54 AM
how to get font ,color,font size of text in win32 satishsatao Visual C++ 0 April 5th, 2006 05:05 AM
Heighlight specific text when open file in browser salman Classic ASP Databases 1 May 5th, 2004 02:07 PM
Heighlet specific Text when open file in browser salman Classic ASP Databases 0 March 30th, 2004 05:57 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.