Link to home
Start Free TrialLog in
Avatar of kitlee
kitlee

asked on

print and preview for WYSWYG in SDI

I plotted a graph using pDC->MoveTo and pDC->LineTo in SDI. After that, I wish to review the graph and also print out the graph. What I found is the graph is too small and overlapped. How can i preview and print the graph just the one I see on the SDI? FYI, I'm using WinApp for this program. Please guide me step by step. Thanks.
Avatar of nutsnuts
nutsnuts

I guess you are using MSVC++, so there is a simple way to get print preview. Just implement your drawing code in OnDraw() Function and use the parameter pDC, then select print preview from File menu, so what you see is what you will get.
ASKER CERTIFIED SOLUTION
Avatar of RONSLOW
RONSLOW

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial