RichTextBox - Sending "zoomed" output to bitmap

I have code that allows me to basically write the contents of a richtextbox to a bitmap (sending a EM_FORMATRANGE using SendMessage). This code works fine, but it always draws the text "normal size" regardless of the setting of ZoomFactor in the RichTextBox. How can I get the "zoomed" verison of the text into a bitmap? Thanks in advance!

1 Reply

AD Administrator Syncfusion Team December 16, 2005 10:34 AM UTC

Hi Pls Check if the attached sample will satisfy ur requirement

ctrl2bmp.zip

Loader.
Up arrow icon