Lasso Soft Inc. > Home

[PDF_Table->Insert]

[PDF_Table->Insert] inserts text content or a new nested table into a cell. Requires a text string or a new [PDF_Table] variable to be inserted as a parameter. Note that -Col and -Row count starting from 0. -ColSpan and -RowSpan should both be specified as a value 1 or higher.

  • Syntax
  • Parameters
[$Variable Name->(Insert: 'Table cell text', 
-Col=Integer, 
-Row=Integer,
-Colspan=Integer,
-Rowspan=Integer,
-Leading=Decimal)]

[$Variable Name->(Insert: (PDF_Table), 
-Col=Integer, 
-Row=Integer)]
Required Parameters
-Col Specifies the column number of the cell to add, numbered from left to right starting from 0.
-Row Specifies the row number of the cell to add, numbered from top to bottom starting from 0.
-Colspan Specifies the number of columns a cell should span. Must be 1 or higher.
-Rowspan Specifies the number of rows a cell should span. Must be 1 or higher.
Optional Parameters
-Header Specifies that the cell is a table header. This is typically used for cells in the first row.
-NoWrap Specifies that the text contained in a cell should not wrap to conform to the cell size specifications. If used, the cell will expand to the right to accomodate longer text strings.
-Leading Sets the leading for the cell text in points (space above and below text). Requires a decimal value.
-VerticalAlignment Vertical alignment for text within a cell. Accepts a value of 'Top', 'Center', or 'Bottom'. Defaults to 'Center' if not specified.
-HorizontalAlignment Horizontal alignment for text within a cell. Accepts a value of 'Left', 'Center', or 'Right'. Defaults to 'Center' if not specified.
-BorderColor Specifies the border color for the cell (e.g. '#440000'). Defaults to '#000000' if not specified.
-BorderWidth Specifies the border width of the cell in points. Requires a decimal value. Defaults to 0 if not specified.
Examples

See the PDF chapter in the Lasso 8 Language Guide for examples of how to use this tag. Many of the PDF examples require lengthy descriptions and the use of several related tags and are better suited to presentation in the Language Guide.

Tag Link [PDF_Table->Insert] Category PDF
Type Member Data Source Any
Support Deprecated Version 6.0
Output Type None Security File
Implementation LJAPI Sets Lasso 6.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. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft