Bonjour, actuellement j'imprime un DC et tout marche bien. Or la prchaine étape est d'imprimer le DC avec une symétrie d'axe vertical.
Je m'arrache les cheveux, j'ai essayé avec la fonction StretchBlt mais je dois mal l'utiliser car ça ne marche pas non plus...
Avez vous une solution?
Merci d'avance.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 PrintDC.StartPage(); CRect dim = m_pPropPrintDSV->DrawBandeType(PrintDC); PrintDC.EndPage(); int total_pages = int (dim.Width() / paper_width); for(int i = 1; i <= total_pages; i++) { PrintDC.StartPage(); PrintDC.SetViewportOrg(- i*(paper_width), 0); m_pPropPrintDSV->DrawBandeType(PrintDC); PrintDC.EndPage(); } PrintDC.EndDoc(); PrintDC.Detach(); PrintDC.DeleteDC();
Partager