Lasso Soft Inc. > Home

[PDF_Doc->Close]

[PDF_Doc->Close] closes a [PDF_Doc] variable and ceates a PDF file after all desired data has been added to it . Additional data may not be added to the specified [PDF_Doc] variable or the PDF file it creates after this tag is used.

  • Syntax
  • Parameters
[$PDF_Doc->Close]
Examples

To close a PDF file:

Use the [PDF_Doc->Close] tag after all desired modifications have been performed on the [PDF_Doc] variable.

[Var:'MyFile'=(PDF_Doc: -File='MyFile.pdf', -Size='A4', -Margin=(Array: 144.0, 144.0, 72.0, 72.0))]
[Var: 'Font'=(PDF_Font: -Face='Helvetica', -Size=36)]
[Var: 'Text'=(PDF_Text:'I am a PDF document', -Font=$Font)]
[$MyFile->(Add: $Text)]
[$MyFile->Close]
Tag Link [PDF_Doc->Close] Category PDF
Type Member Data Source Any
Support Preferred Version 6.0
Output Type None Security File
Implementation LJAPI Sets Lasso 7.0, 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