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', -Font=PDF_Font Variable)]
Use the [PDF_Text] tag with the -Type='Chunk' parameter. The following example adds the text OmniPilot to the [PDF_Doc] variable with a predefined font. The text is positioned in the top left corner of the page by default.
[Var:'Text'=(PDF_Text:'OmniPilot', -Type='Chunk', -Font=$MyFont)]
[$MyFile->(Add: $Text)]
Use the [PDF_Text] tag with the -Type='Paragraph' parameter. The following example adds three sentences of text to the [PDF_Doc] variable with a predefined font.
[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.', -Type='Paragraph', -Font=$MyFont, -Leading=10.0, -IndentLeft=20.0)]
Use the [PDF_Text] tag with the -Anchor parameter. The following example adds the text Click here to go somewhere to the [PDF_Doc] variable with a predefined font, and links the phrase to http://www.example.com.
[Var:'Text'=(PDF_Text:'Click here to go somewhere', -Type='Chunk', -Font=$MyFont,-Anchor='http://www.example.com')]
[$MyFile->(Add: $Text, -Left=100.0, -Top=100.0)]
Tag Link | [PDF_Text] | Category | |
---|---|---|---|
Type | Substitution | Data Source | Any |
Support | Preferred | Version | 7.0 |
Output Type | PDF_Text | Security | Tag |
Implementation | LJAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0 |
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft