PGetPageSize

Gets the width and height of the pages in the publication.


Query results

long xWidth;
Width of publication page in twips
long yHeight;
Height of publication page in twips
Example. Change the page dimensions using the PPageSize command.

PGetPageSize pgSize;
PPageSize(pgSize.yHeight, pgSize.xWidth);
// switch height/width


Comments or suggestions? Contact Adobe Developer Support
Copyright © 1997 - 2001 Adobe Systems Incorporated. All rights reserved.
Legal notices and trademark attributions