Hi all,

I'm trying to convert my program with PDFKit to CGPDF to get better
performance. I'm trying to crop a page, with PDFPage I can simply do:
[PDFPage setBounds: forBox:kPDFDisplayMediaBox];

But for CGPDFPageRef, there seems to be only a CGPDFPageGetBoxRect
available. I wonder if I can simply change the mediabox with a function?

Thanks.

Regards,
DairyKnight
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to