jv patel wrote:I can not agree with you as we can change font size of text file.
No, you can't.
You can change the font or style that a program uses to display the text file to you, but you cannot store style information in the text file itself. Otherwise, it's not a text file, it's something else. Formats like RTF, for example, store style info. But they are not plain text files.
In window 7, we can change font size of text file by using format option of menu.
Again, that is only changing how the text is shown to you on the screen. it has nothing to do with the file itself.
is there any API to handle font size of text file?
No.
Unless, of course, you want to store the information in a format other than plain text.