D
Dane
I am having a problem printing in C#. I am using DrawString() with
the RectagleF class to determine the location to print. I am doing it
this way so that I can get the text to auto wrap.
The problem I am having is this: Is there any way to make the
rectangle grow based on the contents or a way to determine exactly
what the height should be so I do not lose text when printing? The
data I am printing will contain line breaks so I cannot use a fuction
that will simply tell me how long the string is based on the font
size.
Any ideas anyone?
Dane
the RectagleF class to determine the location to print. I am doing it
this way so that I can get the text to auto wrap.
The problem I am having is this: Is there any way to make the
rectangle grow based on the contents or a way to determine exactly
what the height should be so I do not lose text when printing? The
data I am printing will contain line breaks so I cannot use a fuction
that will simply tell me how long the string is based on the font
size.
Any ideas anyone?
Dane