17.05.2014 Views

PDFlib 8 Windows COM/.NET Tutorial

PDFlib 8 Windows COM/.NET Tutorial

PDFlib 8 Windows COM/.NET Tutorial

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

11.6.7 Properties for default Contents<br />

Properties for default contents specify how to fill the Block if no specific contents are<br />

provided. They are especially useful for the Preview feature since it will fill the Blocks<br />

with their default contents. Table 11.12 lists properties for default contents.<br />

Table 11.12 Properties for default contents<br />

keyword<br />

defaultimage<br />

defaultpdf<br />

defaultpdfpage<br />

defaulttext<br />

possible values and explanation<br />

(String; only for image Blocks) Path name of an image which will be used if no image is supplied by the<br />

client application. It is recommended to use file names without absolute paths, and use the SearchPath<br />

feature in the PPS client application. This makes Block processing independent from platform and file<br />

system details.<br />

(String; only for PDF Blocks) Path name of a PDF document which will be used if no substitution PDF is<br />

supplied by the client application. It is recommended to use file names without absolute paths, and use<br />

the SearchPath feature in the PPS client application. This makes Block processing independent from platform<br />

and file system details.<br />

(Integer; only for PDF Blocks) Page number of the page in the default PDF document. Default: 1<br />

(String; only for Textline and Textflow Blocks) Text which will be used if no variable text is supplied by<br />

the client application 1<br />

1. The text will be interpreted in winansi encoding or Unicode.<br />

11.6.8 Custom Properties<br />

Custom properties apply to Blocks of any type of Block, and will be ignored by PPS and<br />

the Preview feature. Table 11.13 lists the naming rules for custom properties.<br />

Table 11.13 Custom Block properties for all Block types<br />

keyword<br />

any name not containing<br />

the three characters []/<br />

possible values and explanation<br />

(String, name, float, or float list) The interpretation of the values of custom properties is<br />

completely up to the client application; they will be ignored by PPS.<br />

11.6 Block Properties 311

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!