I'm using this code for printing a richtextbox content: http://support.microsoft.com/kb/812425/ja How can I find out the size of the printed text. Because the printed text is not the equal size of the richtextbox content, and so it can be that in the printed version one line of the richtextbox is printed in two lines... And I need to know where the printed text ends? The Y-coordinate of the last line...
nogola
Posts
-
RichTextBox printing size -
ShortcutHow to make shortcut's to files in C# ??? For example I want the program to make a shortcut to the file "C:\file.dat" on the desktop???
-
How to associate files with programs?How to make Windows open specific files with a specific program??? Lets say i make a program which saves something to .fil -files, how to associate .fil files to my program ???
-
args in mainOh I didnt see tje reply where you wrote that it has to be static, now it works, tnx!!!
-
args in mainI wanna write all the args into a textBox in the main Form (Form1)
-
args in mainBoth of these solutions dont work. It says: An object reference is required for the nonstatic field, method, or property 'WindowsApplication1.Form1.mainArgs' ...
-
args in mainFor example, how to do this: public static void Main(string[] args) { Application.Run(new Form1()); } public void do_it() { int i; for (i=0; i
-
args in mainHow to use the string[] args from static void Main(string[] args) in an other void ???
-
RichTextBox printing???Ok, tnx... I tried it before on my laptop several times, and it didnt work... Now I tried on my PC and it did... Sorry for bothering...
-
RichTextBox printing???I cant change it, it's not public, and i can't make it public, so it is a variable but it's not variable...
-
RichTextBox printing???How to change te rectToPrint??? I dont won't it to be constant. I want it to be variable
-
RichTextBox printing???No use of that, i want to print it anywhere on the paper, and not only that... This example alows only to print the richtextbox text on a paper and nothing more... if you understand what i mean...
-
RichTextBox printing???How to print the text from a richtextbox, but with the fonts it's written in it. For example in a RTB i have a part wich is BOLD and the rest is REGULAR. How to print it as it is, and not all the text in BOLD or REGULAR ???:confused::confused::confused: -- modified at 13:06 Sunday 12th March, 2006