Tag Link | [PDF_Read->PageSize] | Category | |
---|---|---|---|
Type | Member | Source Available | Yes |
Support | Preferred | Version | 7.0 |
Change | Unchanged | Data Source | Any |
Output Type | String | Security | None |
Implementation | LJAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0 |
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.
[PDF_Read Variable->PageSize]
[PDF_Read Variable->(PageSize: Integer)]
Optional Parameters | |
---|---|
Integer | Specifies the page number in the document to return the size of. |
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:
Page size: [$Old_PDF->(PageSize: 1)]