File Content Extraction 26.2
Viewing SDK Programming Guide

# 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-2026 Open Text
Version 26.2 | Last updated April 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: File Content Extraction 26.2

Topic Title: drawdemo