Property Table Definition

<< Click to Display Table of Contents >>

Navigation:  Printing Process > IPXCPrinter Interface > Properties > Property Options >

Property Table Definition


 

DAPI_ICON_ Property Table Definition

 


 

Tables are used to detail available property values. There are three columns in each table:

 

Name is the property name to which values are assigned.

Values details available property values.

Definition defines the property function.

 

Please note that values are described as numbers and corresponding strings, either of which can be used to set property values. For example, 0 (Normal) means the property can be set as the integer value 0 or the string "Normal" and achieve the same result:

 

pPrinter.Option["Paper.LayoutType"] = 0

pPrinter.Option["Paper.LayoutType"] = "Normal"

 

Boolean Values

 

If the Values section of the property's table is a Boolean value then the following options apply:

 

When the value is 0 the following strings are acceptable: No, False, Disabled.

When the value is 1 the following strings are acceptable: Yes, True, Enable.

 

Therefore the following strings achieve the same result:

 

pPrinter.Option["Compress.Graphics"] = 1

pPrinter.Option["Compress.Graphics"] = "Enable"