Definition of area of purge without any effects in the document size dialog box

Hi all


Can I create a new document with the bleeding, it works very well. Should I try to change the lost funds, it seems not to be saved by the document size dialog box.


Here is my code to create the document:

NewDocCmd InterfacePtr < ICommand > (() Utils < IDocumentCommands >-> CreateNewCommand(K2::kFullUI));))

NewDocCmdData InterfacePtr < INewDocCmdData > (newDocCmd, UseDefaultIID());

newDocCmdData-> SetCreateBasicDocument (kFalse);

newDocCmdData-> SetNewDocumentPageSize (PMPageSize (width, height));

newDocCmdData-> SetWideOrientation ((width>height)? kTrue: kFalse);

newDocCmdData-> SetMargins (left, top, right, bottom);

newDocCmdData-> SetNumPages (numPages);

newDocCmdData-> SetPagesPerSpread (1);

newDocCmdData-> SetColumns_4 (colNum, gridDist, IColumns::kVerticalColumnOrientation);

newDocCmdData-> SetUseUniformBleed (false);

PMRect bleedBox.

bleedBox.Left (mm2pt(bleedLeft/1000.f));

bleedBox.Top (mm2pt(bleedTop/1000.f));

bleedBox.Right (mm2pt(bleedRight/1000.f));

bleedBox.Bottom (mm2pt(bleedBottom/1000.f));

newDocCmdData-> SetBleedBox (bleedBox);

Create the new document.

CmdUtils::ProcessCommand (newDocCmd);

The document size dialog box shows my correct bleeding.

And this is the code I use to change him bleed (suppose bleedBox has different values now):

InterfacePtr < ICommand > pageCmd(CmdUtils::CreateCommand(kSetPageSizeCmdBoss));)

InterfacePtr < IDocSetupCmdData > pageData (pageCmd, IID_IDOCSETUPCMDDATA);

pageData-> SetDocSetupCmdData (docRef, PMPageSize (width, height), 1, 1, width > height, kLeftToRightBinding, kTrue);

pageData-> SetUseUniformBleed (false);

pageData-> SetBleedBox (bleedBox);

The SetPageSizeCmd process

CmdUtils::ProcessCommand (pageCmd);

No error, but also no change in the dialog box the size of the document. Purge values are unchanged.

What else I have to call the dialog box to show my new bleeding?


If I give the word

BB2 = pageData-> GetBleedBox();

then bb2, later the (modified) values.


Thanks for all your advice!


kb_alfa

Hi kb_alfa

Use kSetPageSetupPrefsCmdBoss instead of kSetPageSizeCmdBoss

-Manan

Tags: InDesign

Similar Questions

  • In XP, when you try to open any file, get the "Open with" dialog box

    After a virus infection that I cleaned up, I now have the 'open with' dialog box popping up whenever I want to open a file.  I tried a restore of the system, but to no avail.  What do you suggest to me.  Thank you

    Hello

    Try the methods listed in the section below and check if that helps.
    How to change or choose the program that starts when you double-click a file in Windows XP
    http://support.Microsoft.com/kb/307859

    I hope this helps.

  • Hi, I use lightroom 5 and have been for several years.  Today I imported several batches of today images from different cameras without any problem, but the images of a particular card (with an incredibly large memory) does not matter.

    Hi, I use lightroom 5 and have been for several years.  Today I imported several batches of today images from different cameras without any problem, but the images of a particular card (with an incredibly large memory) does not matter.  I see other people have had similar problems, but I am not able to follow these solutions and would very much help here.  I have an IMac.

    If you had probably two problems

    Permissions, the other is the hardware problem causing slow import and the card cannot be read by your operating system.

  • The Adobe Desktop installation program will not load the app screen tab, all I see is the loading icon and runs continuously without ever loading. All the other tabs seem to load without any delay, only the app tab does not load. I tried to uninstall and

    The Adobe Desktop installation program will not load the app screen tab, all I see is the loading icon and runs continuously without ever loading. All the other tabs seem to load without any delay, only the app tab does not load. I tried to uninstall and reinstall the software, rebooted a couple of times and tried to activate the download of the Premier Pro via the website, but it still doesn't load in the desktop application.

    This solved the problem for me:

    Use the CC cleaning tool to resolve installation problems. CC, CS3 - CS6

  • Remote Desktop area is missing the 'Remote' tab in the System Properties dialog box window?

    Remote Desktop area is missing the 'Remote' tab in the System Properties dialog box window? I can not set up or add users. Remote assistance is the ONLY settings and options that I see. It is a brand new OEM Vista Home Premium X 64 installation with all updates (SP2). That's the problem since it was first started.

    I'm sorry, but it is not possible to access Vista Home Premium via Remote Desktop.  To do this, you need Vista Business or Vista Ultimate.

  • The files are encrypted without any action of the user!

    Recently received "Backup failed" Norton 360 backup. Reason: met encypted files. I never encrypted any file, but on verification, of course, a large number of files have been encypted without any input from me, the user. Any ideas?

    Files cannot be encrypted by themselves. You must actively do this thanks to Vista Professional Edition-full native encryption or using an encryption third-party program like TrueCrypt or that may occur if the computer is infected with a trojan ransomware. However, if it was the latter you would now get messages to "blackmail" him. I suggest you contact Symantec technical support.

    http://www.symantec.com/techsupp/index.html - Symantec technical support
    http://community.norton.com/norton/ - Norton forum

    Burning questions of Norton and patches - http://community.norton.com/norton/board/message?board.id=Announcements&message.id=17

    MS - MVP - Elephant Boy computers - don't panic!

  • After Effects using 5 GB of ram for the preview of a video 12 MB in size without any effect.

    I after effects CC 2015 to date.

    My terms of reference are:

    CPU: i5 6500 3.2 Ghz

    8 GB of RAM: DDR4-2133 MHz RAM

    Storage:256 GB SSD (on which After Effects is installed)

    1 TB HARD DRIVE

    Graphics card: GeForce GTX M 970, 6 GB

    All the drivers are up to date.

    The problem is: I create a new project and import a video in. The video has a full HD resolution and is 12.5 MB in size. First of all, it takes a minute to play the video of RAM so that it begins to play in real time. Then, the video is 30 frames per second, but reading the preview, he plays at 60 frames per second (frame rate is defined as 30 fps in composition settings). I saw the RAM usage in the Task Manager and After Effects using 5 GB of RAM. Then I applied an effect and the CPU usage rose to 100% and it took about 5 minutes to get the applied effect, and after that, After Effects crashed.

    I'm quite new to After Effects, but I'm also a tech geek. I tried to play in the settings but it didn't help. I also searched on google and forums, but to no avail. This problem is essentially what makes the software unusable for me. Please HELP!

    You do not want to edit long movies in AE. After effects is NOT video editing software.  A non-linear editing (NLE) like Premiere Pro is for editing photos to tell a story. AE is for compositing, Visual effects and graphic cartoons. It is for the creation of clichés that you then use in an NLE.

    I suggest to get at least 16 GB of RAM to work with AE, but your system should work as it is. You will need to learn to manage your memory well and to get a glimpse at lower resolutions where possible.

    Now, as to your original question. AE is not simply to play a video stream, as does a NLE. After effects (such as other software based compositing on pixels) with completely decompressed frames. When you put a video compressed in a composition, the size of the original video file has no effect on the size of the images that works with After Effects. After effects unpacks this video and works internally with a full, uncompressed resolution, frames. AE calculates the values of each pixel in each image, comes with a new pixel and then reads these pixels. Who is?

    In fact, since you have so little RAM and the processor is not either, it may be a good idea to convert your video files highly compressed in a good intermediate codec for the shots, that you intend to use in AE. QuickTime with the PNG codec would be a decent choice. This way AE doesn't have to do a ton of work to decompress images behind the scenes until you can even work with him.

  • Lowered target Version 9.0 or later form and now the validation messages are appearing, even when the Show Messages dialog box is set to "do not display any message boxes at all."

    Hi all:

    I went a form target version of "10.0 and higher" to "9.0 or more ' and now I get messages from automatic validation of Adobe to appear, even when the Validation of the form of the document is set on"don't show all the message boxes at all."

    Any thoughts?  I have listed some other form to 9.0 and higher and the same setting form Validation works "do not want to display all message boxes".

    The only thing I can think is the decommissioning of 10.0 to 9.0 or more did something?

    Thanks in advance,

    Brian

    without knowing what the errors are, it is difficult to say what the problem is. Forms are usually not popups unless you use FormCalc. Then, the software is displayed a FormCalc error.

  • Prevent the 'Send Email' dialog box until the required fields are filled

    I am new to JS and fight with a last piece of code.

    I have a form with several fields. I send the form as an attachment to e-mail and need the required fields completed before the form can be sent by e-mail.

    Currently, I have a display alert message if all of the required fields are empty, but if I cancel the box warning, the 'send Email' dialog appears immediately and I can send the form even if the required fields are empty. I want the 'Send Email' box to appear only after completing all the required text boxes.

    The problem seems to be with the if/else line (IF all fields req. are empty, send alert. OTHERWISE open the box "Send email"). What is the best way to write this? Ideally, I would like to alert to list specific areas that are empty. Here is what I have at the moment - but obviously something wrong):

    If (requiredFields.length > 0) {}
    App.Alert (Error);

    } else


    var subject = this.getField("JobNumber").value + '-application form;
    this.mailDoc({)
    cTo: "[email protected]"

    })

    (Using Acrobat XI - thanks in advance!)

    LAST UPDATED 18/12/15

    Talk with someone @ Adobe (through our IT people we actually received a CONF. call w / an Acrobat expert!)

    It turned out to be the word "subject" in our Javascript. The word
    "subject" is a reserved word in newer formats and is read-only in
    Drive.  So we had to redefine the word & read "subject".

    Works great!

  • All the fonts in dialog boxes are TOO big in Acrobat XI?

    My dialog box fonts and layouts have become crazy.  It is similar to other issues of 2014 but here is what I tried:

    (1) No, I can't read the preferences Menu to change the resolution to scale.  I was tabbing and guess, but it does not help.

    (2) Yes, I have at least two fonts Segoe UI installed.

    (3) Yes, I 'fixed' and restarted several times, but no, I have not reinstalled.

    (4) I noticed that if I change the resolution of the screen, the problem is that slightly better IE dialog boxes are arranged correctly, but there is no text.

    (5) the only thing that remains is re - install, but if it is a mistake to system fonts, then what good what would you?

    (6) I have the most recent update.

    I have Win 7 Pro, 64-bit

    FINALLY!  Yes the Segoe fonts are corrupt, as other posts have indicated.  Do NOT buy those from Microsoft.  Go to another Windows 7, 8 or 10 and copy all of the Segoe fonts.  It's probably the Segoe UI symbol protected police that causes the problem.

  • Any version of the document database oracle for other languages?

    They are only in English?

    The Oracle documentation itself is always in English, although in the last translations have been completed (up to Oracle 7, if I remember correctly). There are some translated 3rd party books on the market, you can get your tongue in an online bookstore.

    Werner

  • 2 questions: why are there no "forum" for Ad Premiere ELEMENTS? And: HOW to EXPORT (with Prem 13,00) to COMPUTER VIDEOMATERIAL WITHOUT ANY LOSS OF the ORIGINAL DV or ANALOG VIDEO-QUALITY (inasmuch as I get - to start - an endresult SMALLER!)

    2 questions: why are there no "forum" for Ad Premiere ELEMENTS? And: HOW to EXPORT (with Prem 13,00) FOR COMPUTER VIDEOMATERIAL WITHOUT LOSS OF the ORIGINAL DV or ANALOG VIDEO-QUALITY (inasmuch as I get - to start - an endresult SMALLER!)

    Thank you, Ann. I'll move it.

    Kind regards

    Kevin

  • While the I Pad that is in use reaches 100 percent of the charge can keep connected to 100% without any problems for the battery?

    When you use the I Pad while loading it can I continue to use 100% connected without no battery problem?

    Yes. Of course.  Why any company would do a device that would be damaged by keeping plugged?

  • Integrated webcam on HP dv6700 Ms suddenly not functional without any changes to the operating system.

    Seems to me that everyone is having with the struck dead webcam issuees. I have not installed any new programs or anything like that. HP dv6700 is only TWO years old and the webcam no longer works. The webcam is a built-in Microsoft. I went up to restore computer to factory settings. There is a problem with the driver for the webcam. I even ran troubleshooting automated Microsoft 'Fix It', and he confirms that there is a driver problem. He tries to reinstall the driver, but it fails. I did everything the activation, deactivation, uninstallation, resettlement and the latest measure was totally the computer to its factory condition. Webcam always has a yellow box with exclamation point. In the last days, I worked on it. I even uninstalled and reinstalled YouCam and Skype. With or without these programs, webcam not working rest. I tried manually update driver, but I said that I have the most up to date. Yet once, it happened all of a sudden. No new OS has been introduced.

    Device status:

    This device cannot start. (Code 10)


    Click on 'Search for solutions' to send data about this device to Microsoft and to see if there is a solution available.

    HP Pavilion dv6700 CTO Entertainment Notebook PC

    Vista (64-bit)

    The webcam manufacturer: Microsoft

    Hi JamericanDiva,

    From what you described, it seems that you have hardware failure. You may need to have the device replaced.

    Dena
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Adobe Creative Cloud Desktop App closes without any error in the middle of the installation

    Hi all.

    I had a few struggles since this morning...

    Building 30 GB Photoshop file for a large project and could not open the file or any other PSB I built in the course of 5 weeks - went into the rabbit hole problems...

    now, I'm here...

    Impossible to install same adobe Creative Cloud Desktop App to start from scratch. The Setup program closes without so much as an error message. The screenshot is just before the time that the installation of adobe disappears. Very annoying. Someone knows something about this problem?

    I can give more context for how I got here and all the problems, I fell along the path/steps that my work to correct if nobody's got an immediate response.

    I need to get this project finished tomorrow .

    Screen Shot 2016-08-28 at 2.13.18 PM.png

    FYI, ProDesign tools has updated their website. The new installer, ACCCx3_8_0_310.dmg, can be downloaded here, Adobe CC 2015 Direct Download Links: Creative Cloud 2015 Release | ProDesignTools

    Kent

Maybe you are looking for