Tag Link | [PDF_Text] | Category | |
---|---|---|---|
Type | Substitution | Source Available | Yes |
Support | Preferred | Version | 7.0 |
Change | Unchanged | Data Source | Any |
Output Type | PDF_Text | Security | Tag |
Implementation | LJAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0 |
Creates a text object to be added to a [PDF_Doc] variable. Requires the text string to be added to the PDF document as the first parameter. Optional parameters are listed below.
[Var:'Variable Name'=(PDF_Text: 'Text String',
Optional Parameters | |
---|---|
-Type | Specifies the text type. This can be 'Chunk', 'Phrase', or 'Paragraph'. Different parameters are available for each of these types, as described below. Defaults to the 'Paragraph' type if no |
-Color | Sets the font color. Requires a [PDF_Color] object or a hex color string as a parameter (e.g '#550000'). Defaults to '#000000' if not used. Optional. |
-BackgroundColor | Sets the text background color. Require a hex color string as a parameter (e.g '#550000'). Optional. |
-Underline | Keyword parameter underlines the text. Requires a boolean value of 'true' to work. Optional. |
-TextRise | Sets the baseline shift for superscript. Requires a decimal value that specifies the text rise in points. Optional. |
-Font | Sets the font for the specified text. The value is a [PDF_Font] variable, which is described in the Using Fonts section of this chapter. The font defaults to the current inherited font if no |
-Anchor | Links the specified text to a URL. The value of the parameter is the URL string (e.g. 'http://www.example.com'). Optional. |
-Name | Sets the name of an anchor destination within a page. The value of the parameter is the anchor name (e.g. 'Name' ). Optional. |
-GoTo | Links the specified text to a local anchor destination to go to. The value of the parameter is the local anchor name (e.g. 'Name'). Optional. |
-File | Links the specified text to a PDF document. The value of the parameter is a PDF file name (e.g. 'Somefile.pdf'). The |
-Leading | Sets the paragraph leading space in points (the space above and below the text), and requires a decimal value. For 'Phrase' and 'Paragraph' types only. |
-Align | Sets the alignment of the text in the page ('Left', 'Center', or 'Right'). Optional. |
-IndentLeft | Sets the left indent of the text object. Requires a decimal value which is the number of points to indent the text. Optional. Available for 'Paragraph' types only. |
-IndentRight | Sets the right indent of the text object. Requires a decimal value which is the number of points to indent the text. Optional. Available for 'Paragraph' types only. |
To add a chunk of text:
Use the [PDF_Text] tag with the
[Var:'Text'=(PDF_Text:'OmniPilot',
[$MyFile->(Add: $Text)]
To add a paragraph of text:
Use the [PDF_Text] tag with the
[Var:'Text'=(PDF_Text:'The mysterious file cabinet in orbit has been successfully lassoed. The file cabinent had been traveling at a velocity of 300 meters per second. Top scientists suspect that the cabinet had been in orbit for some time.',
To add a linked phrase:
Use the [PDF_Text] tag with the
[Var:'Text'=(PDF_Text:'Click here to go somewhere',
[$MyFile->(Add: $Text,