7.4

Table Of Contents
%Test lowercase
show(&data+' is lowercase')
elseif()
if((ord(&data)>=65) and (ord(&data)<=90))
%Test uppercase
show(&data+' is uppercase')
elseif()
show(&data+' is not between A and Z or a to z')
endif()
endif()
PDFPageCount (function)
Returns the number of pages in the specified PDF file.
Syntax
pdfpagecount( filename ) integer
Argument
filename
String value specifying the path of the PDF file.
PDFWidth/PDFHeight (function)
Returns the width or height, in inches, of a page of a Portable Document Format (PDF) image resource.
Syntax
pdfwidth( name, page ) measure value
pdfheight( name, page ) measure value
Argument
name
String value that specifies the name of the PDF image resource.
page
Integer value that specifies the page of the PDF
Code Sample Example
This example sets the variable maxwidth to the width of page 3, and the variable maxheight to the height of page 4, of the PDF
named parts_manual.
©2010 Objectif Lune Inc - 500 -