Search results for query: *

  1. G

    Question Hdc -Can anyone tell me wots wrong with my code?

    thanks john your're right again the image was being stretched, this is what happens the code is basically the same as provided by MS for printing rtf text i want to print the contents of the richtextbox to a jpeg using this method and not the drawstring method as i will lose text formatting...
  2. G

    Question Hdc -Can anyone tell me wots wrong with my code?

    hi john thanks for you en genius reply...(really it was!) my next question? when u use the handle with the printeventargs you can get very clear quality sent your printer but quality is very bad for a image??
  3. G

    Question Hdc -Can anyone tell me wots wrong with my code?

    hi ian my apologies the code saves a richtextbox controls data to a bitmap the problem is it just gives me a black bitmap see attached, beet at this 2 days, no luck?? Please help!!
  4. G

    Question Hdc -Can anyone tell me wots wrong with my code?

    Public Sub ToImage(ByVal cntrl As RichTextBox, ByVal filename As String, ByVal inputformat As Imaging.PixelFormat, ByVal outputformat As Imaging.ImageFormat) Dim charfrom As Integer, charto As Integer ' Mark starting and ending character Dim cRange As...
Back
Top