# 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.

© Copyright 2016-2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm