#include “BlackIceDEVMODE.h”
BOOL SetFileFormat(DWORD fileformat, BlackIceDEVMODE* pDevMode);
Description
Sets the Format member of the BlackIceDEVMODE. Sets the value of the 'File Format' combo box.
Parameters
DWORD fileformat - File Format (DWORD number).
BlackIceDEVMODE* pDevMode - pointer to the BlackIceDEVMODE structure.
Return value
TRUE if the member was successfully set, otherwise FALSE.
Programming Notes
See details on file format list at Description of the INI file values
The DWORD fileformat value can be one of the following:
File format |
Value |
Available for Printer |
||||
Color |
ColorPlus |
EMF |
TIFF\Monochrome |
|
||
CALS (*.cg4) |
11 |
X |
X |
|
X |
|
Enhanced Metafile (*.emf) |
18 |
|
X |
X |
|
|
GIF (*.gif) |
25 |
X |
X |
|
X |
|
HTML - editable (*.htm) |
37 |
X |
X |
|
|
|
HTML with BMP (*.htm) |
29 |
X |
X |
|
X |
|
HTML with GIF (*.htm) |
26 |
X |
X |
|
X |
|
HTML with JPEG (*.htm) |
28 |
X |
X |
|
X |
|
HTML with PNG (*.htm) |
27 |
X |
X |
|
X |
|
IBM MMR IOCA (*.mca) |
19 |
X |
X |
|
X |
|
Intel DCX (*.dcx) |
2 |
X |
X |
|
X |
|
JPEG (*.jpg) |
16 |
X |
X |
|
|
|
JPEG LAB (*.jpg) |
17 |
X |
X |
|
|
|
Microsoft Bitmap (*.bmp) |
0 |
X |
X |
|
X |
|
PCX (*.pcx) |
1 |
X |
X |
|
X |
|
PDF (*.pdf) |
36 |
|
X |
|
|
X |
Compact PDF (*.pdf) |
40 |
|
X |
|
|
X |
PDF Image (*.pdf) |
20 |
|
X |
|
|
X |
PDF/A |
38 |
|
X |
|
|
X |
PNG (*.png) |
24 |
X |
X |
|
X |
|
RAW CCITT (no header) Group 3, 1 Dimension (*.raw) |
12 |
X |
X |
|
X |
|
RAW CCITT (no header) Group 3, 1 Dimension with Fillbits (*.raw) |
13 |
X |
X |
|
X |
|
RAW CCITT (no header) Group 3, 2 Dimension (*.raw) |
14 |
X |
X |
|
X |
|
RAW CCITT (no header) Group 4 (*.raw) |
15 |
X |
X |
|
X |
|
TIFF for CISCO (*.tif) |
30 |
X |
X |
|
X |
|
TIFF for Dialogic boards (*.tif) |
21 |
X |
X |
|
X |
|
TIFF for Gammalink boards (*.tif) |
23 |
X |
X |
|
X |
|
TIFF for NMS boards (*.tif) |
22 |
X |
X |
|
X |
|
TIFF Group 3, 1 Dimension (*.tif) |
4 |
X |
X |
|
X |
|
TIFF Group 3, 1 Dimension with Fillbits (*.tif) |
5 |
X |
X |
|
X |
|
TIFF Group 3, 2 Dimension (*.tif) |
6 |
X |
X |
|
X |
|
TIFF Group 4 (*.tif) |
7 |
X |
X |
|
X |
|
TIFF JPEG (*.tif) |
10 |
X |
X |
|
X |
|
TIFF Lempel-Ziv & Welch (*.tif) |
9 |
X |
X |
|
X |
|
TIFF Packed (*.tif) |
8 |
X |
X |
|
X |
|
TIFF Uncompressed (*.tif) |
3 |
X |
X |
|
X |
|
XML - editable (*.xml) |
39 |
X |
X |
|
|
|
XML with BMP (*.xml) |
34 |
X |
X |
|
|
|
XML with GIF (*.xml) |
31 |
X |
X |
|
|
|
XML with JPEG (*.xml) |
33 |
X |
X |
|
|
|
XML with PDF (*.xml) |
35 |
|
X |
|
|
X |
XML with PNG (*.xml) |
32 |
X |
X |
|
|
|
Code Example
None