activePDF Toolkit 2011 API Reference
Text2PDF Extra Parameters

Glossary Item Box

The Text2PDF subobject uses additional parameters and instructions for defining additional items or inserting a page break. For additional information, refer to the following sections:
  • Input Stream Extras
  • Inserting a Page Break

Input Stream Extras

You can define additional items such as annotations in the Input Stream. These are defined on a line by themselves.

Item Description
.action o file.pdf This will generate a link to open a specified PDF file.
.action program.exe This will generate a launch link to a specified program (.exe).
.stream rawpdfstream This will insert a specified PDF stream into the file.
.line+n This will add n lines to the line counter. You can use this when .stream changes the internal line counter.
.line=n This sets the internal line counter to n. You can use this when .stream changes the internal line counter.
.line-n This will subtract n lines from the line counter. You can use this when .stream changes the internal line.
.bs n This line changes the current box style to n, where n is defined by the AnnotBoxStyle property.


Inserting a Page Break

You can Insert a char(12) (form feed) into the stream after a carriage return/LF combination.