Universal Document Converter
Product Overview
Download
Purchase
Tutorials
Developer Solutions
Support Service
About fCoder SIA


      Site search
   


      Popular conversions
PDF to JPG converter
Convert Word to PDF
Convert PDF to TIFF
Autocad to PDF converter
Convert Word to JPG
Powerpoint to PDF converter
Printing to PDF
Convert Excel to PDF
Convert DJVU to PDF
Convert Web Page to PDF

      Video tutorials
Show tutorial



Main page>Developer Solutions>Interfaces>IUDC>IUDCPrinter>IProfile>IFileFormats>IDCX

IDCX


The IDCX interface is designed to configure output files to be saved in DCX format.

Properties

Enum ColorSpace

Defines the bit depth of the resulting image measured as the number of bits representing each pixel. It is both readable and writable.
ConstantValueDescription
CS_BLACKWHITE1Black and white image (1 bit per pixel)
CS_16COLORS4Color image, 16 colors (4 bits per pixel)
CS_16GRAYSCALE132Grayscale image (16 hues, 4 bits per pixel)
CS_256COLORS8Color image, 256 colors (8 bits per pixel)
CS_256GRAYSCALE136Grayscale image (256 hues, 8 bits per pixel)
CS_TRUECOLOR24True color image (24 bits per pixel)

Enum Multipage
Helps manage the process of creating multi-page output files. It is both readable and writable.
ConstantValueDescription
MM_SINGLE0Each page of the source document and every one-page document are saved as separate files
MM_MULTI2Each multi-page source document is saved as a single multi-page file
MM_APPEND3The content of all documents processed is saved in a single multi-page file

Enum Smoothing
Defines the dithering mode applied to half-tone transitions and used to reduce stepwise rendering when representing downsampled images. Dithering is applied only if the ColorSpace property has one of the following values: CS_BLACKWHITE, CS_16COLORS, CS_16GRAYSCALE, CS_256COLORS. It is both readable and writable.
ConstantValueDescription
SM_HQ1High-quality dithering is enabled to optimize for output image quality
SM_FAST0Fast dithering is used to optimize for conversion speed

Examples

Visual Basic 6

Dim objUDC As IUDC Dim itfPrinter As IUDCPrinter Dim itfProfile As IProfile Set objUDC = New UDC.APIWrapper Set itfPrinter = objUDC.Printers("Universal Document Converter") Set itfProfile = itfPrinter.Profile ' Set DCX as current output file format itfProfile.FileFormat.ActualFormat = FMT_DCX itfProfile.FileFormat.DCX.ColorSpace = CS_BLACKWHITE itfProfile.FileFormat.DCX.Smoothing = SM_HQ itfProfile.FileFormat.DCX.Multipage = MM_MULTI


© fCoder SIA About fCoder SIA | Privacy Policy | Site Map