Please enable JavaScript to view this site.

Navigation: Developer Information > Using the Windows registry

Controlling File Save Formats

Scroll Prev Top Next More

The file save formats such as "PDF", "PDF/A", and "JPEG" can be controlled by editing a DWORD value to the registry named "formats" at any of the standard registry locations. The options are specified using table below:

 

Format

Value (Hexadecimal)

PDF

0x1

PDF/A

0x2

XPS

0x4

TIFF (monochrome)

0x8

SVG

0x10

PDF Image Only (monochrome)

0x20

TIFF (color)

0x40

JPEG (grayscale)

0x80

JPEG (color)

0x100

GIF (grayscale)

0x200

GIF (color)

0x400

PNG (grayscale)

0x800

PNG (color)

0x1000

BMP (grayscale)

0x2000

BMP (color)

0x4000

PDF Image Only (color)

0x8000

 

For example, to only display "PDF" in the file save window, you would set "formats" to 0x1 hexadecimal. The values can be added together to specify more than one format, so to display "PDF" and "PDF Image Only", you would set formats to 0x21 hexadecimal. To display all formats, you can set formats to 0xffff hexadecimal.

 

win2pdf-save-window-all-formats