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


Copyright © 1996, Adobe Systems Incorporated. All rights reserved.

Comments or suggestions? Contact Adobe Developer Support