I want to print and printpreview using MFC SDI engine. The input file is kind of an excel (spreadsheet) report....with columns and rows....I want my print engine to check for the horizontal overflow of page and to split page at the proper location so that the rest of the document is placed on the next page. Also, at the same time the document (which is spreadsheet report type) contains embeded bitmaps....i want my engine to take care of boundaries (margins)...the bitmap should not be split on two pages....it should be placed on one page.....
In nutshell my print engine should handle:
1. Horizontal overflow of pages.
2. Vertical overflow of pages.
3. Take care the embeded bitmaps.
thanks in advance for reply..it will be quite helpful if someone can give a generic outline of the code....
you should take care while printing, you have find the number of pages and check for horizontal over flows.
You can calculate the size of your table and the bitmap position in CView::OnBeginPrinting().
Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.
Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information.
Continuing from the first article about sudoku. There we have designed the application and put a lot of user int…
Load and Save to file, Document-View interaction inside the SDI.
Continuing from the second article about sudoku.
Open the project in visual studio.
From the class view select CSudokuDoc and double click to open the header …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred.
This will be demonstrated using Adobe Premiere Pro CS6.