1
Answer

Using the StretchDIBits() function in C#

Hasan

Hasan

16y
5.1k
1

I am using the bitblt() function for printing a bitmap with c#. But the printing quality I am getting in this case is not satisfactory at all. Actually, the type of bitmaps that the 'BitBlt()' function requires are normally in the format of the display driver rather than the printer driver. So I am thinking of using a DIB rather than DDB and for doing this may be StretchDIBits() function can be used.

Please help me with some code sample on how to use the StretchDIBits() function in C#

thanks in advance

Answers (1)