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.

Table 11.3 Conversion of PDF form fields to <strong>PDFlib</strong> Blocks<br />

PDF form field attribute...<br />

...will be converted to the <strong>PDFlib</strong> Block property<br />

all fields<br />

Position<br />

Name<br />

Tooltip<br />

Appearance, Text, Font<br />

Appearance, Text, Font Size<br />

Appearance, Text, Text Color<br />

Appearance, Border, Border Color<br />

Appearance, Border, Fill Color<br />

Appearance, Border, Line Thickness<br />

General, Common Properties, Form<br />

Field<br />

General, Common Properties, Orientation<br />

Rect<br />

Name<br />

Description<br />

fontname<br />

fontsize; auto font size will be converted to a fixed font size of 2/3 of the Block<br />

height, and fitmethod will be set to auto. For multi-line fields/Blocks this combination<br />

will automatically result in a suitable font size which may be smaller than<br />

the initial value of 2/3 of the Block height.<br />

strokecolor and fillcolor<br />

bordercolor<br />

backgroundcolor<br />

linewidth: Thin=1, Medium=2, Thick=3<br />

Status:<br />

Visible=active<br />

Hidden=ignore<br />

Visible but doesn’t print=ignore<br />

Hidden but printable=active<br />

orientate: 0=north, 90=west, 180=south, 270=east<br />

text fields<br />

Options, Default Value<br />

Options, Alignment<br />

Options, Multi-line<br />

defaulttext<br />

position:<br />

Left={left center}<br />

Center={center center}<br />

Right={right center}<br />

checked creates Textflow Block<br />

unchecked creates a Textline Block<br />

radio buttons and check boxes<br />

If »Check box/Button is checked by<br />

default« is selected: Options, Check<br />

Box Style or Options, Button Style<br />

defaulttext:<br />

Check=4<br />

Circle=l<br />

Cross=8<br />

Diamond=u<br />

Square=n<br />

Star=H<br />

(these characters represent the respective symbols in the ZapfDingbats font)<br />

list boxes and combo boxes<br />

Options, Selected (default) item<br />

defaulttext<br />

buttons<br />

Options, Icon and Label, Label<br />

defaulttext<br />

290 Chapter 11: PPS and the <strong>PDFlib</strong> Block Plugin (Edition for <strong>COM</strong>, .<strong>NET</strong>, and REALbasic)

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

Saved successfully!

Ooh no, something went wrong!