How can I extract Trim, Art, Bleed and Crop Box information from PDF document

I want to know where in PDF are these information saved. I need my program to know these numbers without me manually rewriting them.

Use the getPageBox method.
getPageBox can get the dimensions of the following:
Art
Bleed
BBox
Crop (default)
Trim
There is an example in the JavaScript for Acrobat reference that gets the dimensions of the media box and displays it in the console window:
var aRect = this.getPageBox("Media");
var width = aRect[2] - aRect[0];
var height = aRect[1] - aRect[3];
console.println("Page 1 has a width of " + width + " and a height of " + height);

Similar Messages

  • How can I order an iphone 6 and pick it up from one of the apple stores in London. It doesn't work with reserve and pick up because the 64 gb is never in stock.

    How can I order an iphone 6 and pick it up from one of the apple stores in London??? It doesn't work with reserve and pick up because the 64 gb is never in stock.

    Thank you for replying.    Yes I deleted the old email address..   

  • How can I transfer all my mail and mail boxes to another computer using the same Mac OS 10.7.5?

    I have 2 computers with the same OS 10.7.5. How can I transfer all my Mail & Mail boxes from one to the other?

    Hello Gene,
    It sounds like you would like to transfer your mail and mailboxes from one computer to another.  I recommend exporting the mailboxes from one Mac and then importing them to the destination Mac.  You can find steps in the following articles:
    Lion Mail: Export mailboxes
    http://support.apple.com/kb/PH4811
    Lion Mail: Import mailboxes
    http://support.apple.com/kb/PH4853
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • How can I disable the 'First Run' and 'Whats New' pages from showing after updating Firefox for all users that log onto a system.

    I am a system administrator and need a way to set a global preference to not open the Whats New and first run pages. I found the browser.startup.homepage_override.mstone preference in the user profile but want to be able to set this globally.

    Use a mozilla.cfg file in the Firefox program folder to lock prefs or specify default values.
    Place a file local-settings.js in the defaults\pref folder where you also find the file channel-prefs.js to specify using mozilla.cfg.
    pref("general.config.filename", "mozilla.cfg");
    pref("general.config.obscure_value", 0); // use this to disable the byte-shift
    See:
    * http://kb.mozillazine.org/Locking_preferences
    You can use these functions in mozilla.cfg:
    defaultPref(); // set new default value
    pref(); // set pref, but allow changes in current session
    lockPref(); // lock pref, disallow changes
    *http://kb.mozillazine.org/browser.startup.homepage_override.mstone

  • How can I set the file name and folder for output to PDF from another application?

    I am developing an application in Microsoft Access where the printed reports are to be saved in PDF format for archive purposes. I can send the output to Adobe X, but the default file name is the Access report name and the folder selected is the one last used.
    What I need to do is to create the file with a specific name (which changes for each run) and to a specific folder (which also changes for each run).
    The language I'm using is Visual Basic for Applications which is located in an Access form that controls the report production.
    Any suggestions, please?

    Got it - many thanks.

  • How can I move the "Latest Headlines" and "Most Visited" items from the right of the tab bar to the left?

    I accidently moved these items (and deleted "History") and can't get them back on the left side of the tab bar.

    Didn't you look in the View menu (View > Toolbars > Customize)?
    <div>The "3-bar" Firefox menu button [[Image:New Fx Menu]] shows in the screenshot at the right end of the Navigation Toolbar</div>
    You need to be in customize mode if you want to make changes to the toolbars.
    *https://support.mozilla.org/kb/customize-firefox-controls-buttons-and-toolbars

  • How can I move my I Tunes and all downloaded music from one computer to another

    I have attempting to move my I Tunes from and old computer to a new computer.  I have many download CD;s on it.

    From your Old Computer... Copy your ENTIRE iTunes FOLDER to an External Drive... and then from the Ext Drive to your New Computer..
    Backup iTunes to an External Drive
    http://support.apple.com/kb/HT1751
    Moving iTunes Media Folder  (Windows)
    http://support.apple.com/kb/HT1364

  • How can I remove a previous iPhone owner's iCloud information from my refurbished iPhone 4S?

    I recently had to submit a claim on my white iPhone 4S that I dropped at the gym. Upon submitting this claim with my phone provider, they shipped me a refurbished iPhone 4S. EVERY TIME that I try to back up, restore, check emails, download apps or unlock my phone, it trys to get me to sign into FOUR different people's accounts. Is there any way to remove this stored information without having the intended individuals passwords?
    It's a really irritating situation!

    Do you know if Find my iPhone is activated in Settings-iCloud?  If not, you can erase all content and settings and start as a new iPhone.  If you restored from a backup, it means data from those other email accounts were stored in the backup.
    Also check any services where an Apple ID is required and sign in and out.

  • How can a get a full function distiller dialog box for saving PDF files in Illustrator?

    I would like to know if there is some type of plug-in, etc. out there that would allow me to have all the functionality of a Distiller dialog box when I save a PDF out of Illustrator CS5. Right now, I just have what comes installed with Illustrator. It's a stripped down version of what you would find in distiller.

    In what way is it stripped down? Can you explain what features you want?

  • How can i add a new user and change user'password with javamail?

    how can i add a new user and change user'password from a mailserver with javamail?
    email:[email protected]

    Well user creation and updation is a system property..U need to go through that part...as it depends on the system you are hosting pout your application...
    if it is linux...u have to use some shell programming\
    bye for now let me know if this guides you or if you need some more stuff.
    bye

  • How do I get iTunes to read and import track information?

    How do I get iTunes to read and import track information from compilation CDs? Typically, the compilations have been burned to disk using iTunes or Toast 8 Titanium. I have checked data boxes as available with both softwares. My REGA Planet CD player as well as my car CD player can read the track info but neither my nor my friends' iTunes can read the tracks for importing.

    I don't believe that iTunes can read CDText.
    tt2

  • How can I extract certain pages from my document and save as another file?

    How can I extract certain pages from my document and save as another file?

    You would need Adobe Acrobat to do that, not Adobe Reader.

  • How can I extract part of a PDF file and copy it to a new PDF file?

    How can I extract part of a PDF file and copy it to another PDF file?

    You will need Adobe Acrobat for this.

  • How can I extract a still picture from footage in iMovie, add text to it and print it ?

    How can I extract a still picture from footage in imovie, add text to it and print it ?

    Assuming you have iMovie 11 (also known as Version 9.0.4), here is how you do it. (If you have a different version, let me know. The instructions will be different).
    First, get an app called MPEG Streamclip, which is free. (google MPEG Streamclip from Squared 5)
    Open MPEG Streamclip.
    In iMovie, select the clip you need. Then, right-click/Reveal in Finder.
    Drag this clip into MPEG Streamclip
    In MPEG Streamclip, move the playhead to the frame you want.
    In MPEG Streamclip, click FILE/EXPORT FRAME.
    Choose JPEG, TIFF, or PNG and give it a name.
    You can then use this photo in Photoshop, Pixelmator, Acorn, or the app of your choice to add text.
    Here is a demo I made the other day for how to extract the still image using MPEG Streamclip.

  • How can I extract jar entry which is folder and it's contents

    Hi
    How can I extract jar entry which is folder and its contents to another folder.
    I'm pretty sure I've tried almost everything.
    Thanks in advance.
    Edited by: MuSaKa on Sep 11, 2008 3:17 AM

    like this ?

Maybe you are looking for

  • Is there a reason a Samsung 37" 1080p would look less crisp than a Samsung 32" 720p?

    I purchased the 32" but thought it was a bit too small for the room.  We sit about 6 - 8 feet away from the screen.  Bought the same brand in 37" today and was disappointed to see that we notice less clarity ... not as much "HD effect" somehow in the

  • Flex/Zend channel connect failed error...

    Hi guys.     I am using Flex and php to develop my project. Everything works great in my local machine. However, when I upload my files to my server (godaddy.com). I got the error when loading my flex application. The pop-up error message is send fai

  • New and enhanced or changed function modules in Ecc6.0 compare to 4.6C

    Hi all Experts, Now i am at the middle phase of my upgrade project. How can i list module wise (like SD, FI, MM) function modules which modified or newly came to ecc 6.0 or deleted in ecc? I already visited the sap site and taken the delta functions.

  • Revoke System status : Block account assignment (AALK).....Very urgent...

    Currently system status is "REL AALK" and user status is :"REL" in WBS element.. Our payroll has been stucked in Production server due to system status :Account assignment block (AALK) in WBS element. Kindly help me how to unblock account assignment

  • Exclamation marks in IP 5 !!!!

          I've been getting an exclamation mark instead of the pic appearing  when I click on a photo in IP 5 lately.  What does that mean ?? How do I get  the picture to appear again ? thanks Braden