![]() |
PMSetAdjustedPageRect |
||||
Header: | PMCore.h | Carbon status: | Under Evaluation | |
Requests a particular page size, independent of the current rotation, resolution, or scaling settings.
OSStatus PMSetAdjustedPageRect ( PMPageFormat pageFormat, const PMRect *pageRect );
A PMPageFormat object.
The desired page size, in points.
A result code. A result code. See
You can use PMSetAdjustedPageRect to create a drawing rectangle without going through the Page Setup dialog box or calling other page format accessor functions. This capability is intended for use by desktop publishing applications for which the Page Setup dialog box does not provide sufficient control. Typically such applications display their own specialized document format dialog box. This function allows an application to specify the dimensions of the pixel map into which it will draw.
Valid within a printing session after creating a page format object.
Under evaluation for Carbon. Available in Carbon 1.1 and later when CarbonLib 1.1 or later is present.
© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)