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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

11.6.2 Rectangle Properties<br />

Rectangle properties apply to all Block types. They describe the appearance of the Block<br />

rectangle itself. Required entries will automatically be generated by the Block Plugin.<br />

Table 11.5 lists the rectangle properties.<br />

Table 11.5 Rectangle properties<br />

keyword<br />

backgroundcolor<br />

bordercolor<br />

linewidth<br />

Rect<br />

Status<br />

possible values and explanation<br />

(Color) If this property is present and contains a color space keyword different from None, a rectangle will<br />

be drawn and filled with the supplied color. This may be useful to cover existing page contents. Default:<br />

None<br />

(Color) If this property is present and contains a color space keyword different from None, a rectangle will<br />

be drawn and stroked with the supplied color. Default: None<br />

(Float; must be greater than 0) Stroke width of the line used to draw the Block rectangle; only used if<br />

bordercolor is set. Default: 1<br />

(Rectangle; required) The Block coordinates. The origin of the coordinate system is in the lower left corner<br />

of the page. However, the Block Plugin displays the coordinates in Acrobat’s notation, i.e., with the origin<br />

in the upper left corner of the page. The coordinates will be displayed in the unit which is currently selected<br />

in Acrobat, but will always be stored in points in the PDF file.<br />

(Keyword) Describes how the Block will be processed by PPS and the Preview feature (default: active):<br />

active The Block will be fully processed according to its properties.<br />

ignore The Block will be ignored.<br />

ignoredefault<br />

Like active, except that the defaulttext/image/pdf properties will be ignored, i.e. the Block<br />

remains empty if no variable contents are available (especially in the Preview). This may be<br />

useful to make sure that the Block’s default contents will not be used for filling Blocks on the<br />

server side although the Block may contain default contents for generating Previews. It can<br />

also be used to disable the default contents for previewing a Block without removing the<br />

default contents from the Block properties.<br />

static No variable contents will be placed; instead, the Block’s default text, image, or PDF contents<br />

will be used if available.<br />

11.6 Block Properties 301

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

Saved successfully!

Ooh no, something went wrong!