activePDF Toolkit 2011 API Reference
TitleString
Technical Reference > Text2PDF Object > Text2PDF Properties > TitleString

Glossary Item Box

Description: Sets a one-line title to be displayed at the top of every page.
Syntax: object.TitleString = value
Arguments: Argument Value Type Description & Settings
object N/A Set to an instance of the object.
Value String The text for the title.
Example:
Set TK = CreateObject("APToolkit.Object")
Set Text2PDF = TK.Text2PDFObject
Text2PDF.Outputfile "output.pdf"
Text2PDF.InputFile "input.txt"
Text2PDF. TitleString = "This is my line title on each page"
Text2PDF.Convert
Set Text2PDF = Nothing
Set TK = Nothing