drawdemo
The drawdemo
sample program demonstrates how to draw a page of a word processing, spreadsheet, presentation, or picture file into a supplied Device Context (thumbnail view). The program captures the first few pages (up to MAX_PAGES_TO_DISPLAY
) of the document in metafiles and later uses these metafiles to draw the pages on the screen.
To start the drawdemo
program, double-click the drawdemo.exe
file, or enter the following command at a DOS prompt or in the Run dialog box:
drawdemo
To draw the first page of a document into a supplied Device Context, select Open from the File
menu.