Lasso Soft Inc. > Home

[PDF_Read->PageSize]

Returns the dimensions of the first page in the PDF as an array of width and height point values (Array: Width, Height). An optional integer parameter specifies the page number in the document to return the size of.

  • Syntax
  • Parameters
[PDF_Read Variable->PageSize]

[PDF_Read Variable->(PageSize: Integer)]
Optional Parameters
Integer Specifies the page number in the document to return the size of.
Examples

To determine the attributes of an existing PDF document:

The number of pages and the dimensions of an existing PDF document can be returned using the [PDF_Read->PageCount] and [PDF_Read->PageSize] tags on a defined [PDF_Read] variable.

[Var:'Old_PDF'=(PDF_Read:-File='/documents/somepdf.pdf')]Number of pages: [$Old_PDF->PageCount]
Page size: [$Old_PDF->(PageSize: 1)]
Tag Link [PDF_Read->PageSize] Category PDF
Type Member Data Source Any
Support Preferred Version 7.0
Output Type String Security None
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. > Home

 

 

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