|
|
You use the PageSize element to define the page size of a PDF page. In DDX, the term page size is interpreted in the following way:
• From the user’s point of view, it is the dimensions of the visible page. If you use the Crop Pages command in Acrobat, you see the page size displayed as "Cropped page size". A standard letter-size page is 8.5 x 11 inches. If the page is rotated 90 degrees, the page size is 11 x 8.5 inches.
• In the PDF file, these dimensions correspond to the intersection of the /MediaBox and /CropBox entries in the page dictionary after applying the /Rotate entry. (See the PDF Reference for details.)
• The page size corresponds to what is returned when using the DocumentInformation query element to obtain information about the document (see Getting document information). The XML that is returned includes a PageSize element.There is an interaction between the PageSize and PageRotation elements. See Rotation and orientation for more information.The width and height attributes of the PageSize element specify the dimensions, which default to the standard letter size of 8.5 x 11 inches. These attributes can be specified in inches, millimeters, centimeters, or points. (See Specifying length for more information.) The default values are for letter size: "612pt" (8.5 inches) for width and "792pt" (11 inches) for height.In the following example, suppose that doc2 contains letter size pages (8.5 x 11 inches) and doc1 contains legal size pages (8.5 x 14 inches). To make all the pages the same size, you can specify legal size for the pages in doc2.Example: Setting the page size<PDF result="newdoc"><PDF source="doc1"/><PDF source="doc2"><PageSize width="8.5in" height="14in"/></PDF></PDF>
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/sdkHelp/assemblePDFPage_properties.102.3.html