Print and Print Preview and relation with document view
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
Hello guys i have a problem with my SDI program i show some data in my document and when i want see print preview or print data which shown in doc i see data in small font. how can i fix this problem regards.
I'm assuming you're drawing the text in the
OnDraw
function. The passed inCDC
object will by default use its currently selected font which could be different for the screen and printer. To get the same font across the screen and printer, in theOnDraw
function, create aCFont
object and useSelectObject
to attach it to the passed inCDC
object.«_Superman_» I love work. It gives me something to do between weekends.