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

Glossary Item Box

Description: Turns word wrapping on or off.
Syntax: object.WordWrap = value
Arguments: Argument Value Type Description & Settings
object N/A Set to an instance of the object.
Value Long 1 = turns word wrapping on. (Default)

0 = turns word wrapping off.
Example:
Set TK = CreateObject("APToolkit.Object")
Set Text2PDF = TK.Text2PDFObject
Text2PDF.Outputfile "output.pdf"
Text2PDF.InputFile "input.txt"
Text2PDF. WordWrap = True
Text2PDF.Convert
Set Text2PDF = Nothing
Set TK = Nothing