• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Question on PDFs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question on PDFs


  • Subject: Re: Question on PDFs
  • From: Shane Stanley <email@hidden>
  • Date: Sat, 17 Oct 2015 10:33:09 +1100

On 17 Oct 2015, at 7:30 AM, James Yanchak <email@hidden> wrote:

Xcode documentation doesn’t give what the Constants for the PDFDisplayBox are, and a web search got me lots of things which do not work. Any ideas how to use (if I even can) the boundsForBox on a PDFPage object? 

If the docs fail, it's worth checking the header files (use the command-shift-O shortcut).

// Page boxes.
typedef NSInteger PDFDisplayBox;
enum
{
    kPDFDisplayBoxMediaBox = 0, 
    kPDFDisplayBoxCropBox = 1, 
    kPDFDisplayBoxBleedBox = 2, 
    kPDFDisplayBoxTrimBox = 3, 
    kPDFDisplayBoxArtBox = 4
};


-- 
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Question on PDFs (From: James Yanchak <email@hidden>)

  • Prev by Date: Question on PDFs
  • Next by Date: cfarray vs nsarray
  • Previous by thread: Question on PDFs
  • Next by thread: cfarray vs nsarray
  • Index(es):
    • Date
    • Thread