Discussion Locked

Converting documents to Image files

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I would like some help on the above. I am trying to integrate a fax software into a system. however the software will onlt send a document if it is converted into an image file. Any suggestions?

1 reply

by scronty

Afternoon, Big Tee.

As an initial suggestion, you could try grabbing the DC of the control which is displaying the text. i.e. if the text is displayed inside a listbox, then grab the DC of that listbox. Copy the DC to a compatable memory DC, withwhich you've associated a bitmap. Use the bitmap as your image.

If the text is greater than the size of the control, then you could try creating a memory DC of the required size, and writing the text into it.

Cheers,
Scronty

This discussion is closed to new replies.