InDesign CS 4 reliable Ruler Guide locations in Rotate Spread View

While working in a Rotate Spread View (90º CW) the X and Y location of the Ruler Guides will be no longer reliable until you Clear the Rotation.
Sounds like a Bug or needs to be added in an update!

They look reliable to me. The absolute coordinates don't change because you are just rotating the spread VIEW, not any positioning. If you rotate 90 degrees, the y ruler will now be horizontal and the x ruler will be vertical, but the zero point will remain in the same position on the page.
That isn't to say it takes some getting used to. :)
Peter

Similar Messages

  • Cannot add ruler guides in InDesign CS4. What am I doing wrong?

    I'm trying out InDesign CS4 on a trial basis. I have the Web Design CS3 suite and have no problem making ruler guides by clicking and dragging from a ruler. I'm wondering if there is a conflict between CS3 and CS4 products. I can't select the Selection or Direct Selection Tools by clicking on them. They do become active, however, if I use the keyboard shortcuts (V) or (A).  According to the 1-on-1 tutorial, my Selection Tool cursor should change from black to white when the guide snaps to an existing margin. My cursor turns white as soon as a click on the ruler. When I drag, nothing happens. When I release the mouse button, the cursor turns black again. With the Direct Selection Tool, the cursor remains white throughout the entire attempt. Nothing happens in either situation. This is a simple, getting started doc. There is only one layer, I'm in Normal view, and I have created margins and columns that are visible. I can select Baseline and Document grids and they work. Is this a bug or am I missing something?
    P.S. I've tried to attach the InDesign file (840 kb), but got the message, "The content type of this attachment is not allowed." Sheesh!

    You were right in your original assessment; it was a corrupt installation. There were several other things not functioning as designed. I just came upon the guides problem first. BTW, I found that if I expanded the document to where it covered the entire screen, the guides were visible. Unfortunately, the tool box and menus are covered, so that was a bit inconvenient. Just wanted to say thanks and tip my hat to you and the others who responded by offering help.
    One last thing, when I posted my original posting, I tried to attach the InDesign doc file I was working on and got a pop-up window saying that these type of files are not allowed. Am I to understand that you can't post InDesign files on the Adobe forum?

  • Ruler guides, again

    Yes, I did a search and I found a few discussions about ruler guides. But, nothing is working for me yet. All I want is ruler guides across ALL my pages, not just the page I created it on. I've tried using Control. Doesn't work. I've tried making sure the guide is outside of the page margin when I create it. Doesn't work. I've tried pressing "w" off and on. Doesn't work.
    Thanks,
    Peter

    P Spier wrote:
    Peter Britt Bailey wrote:
    Adobe InDesign Help.
    Are you referring to http://help.adobe.com/en_US/indesign/cs/using/WSfd1234e1c4b69f30d2a505 1004d659b1c-7fefa.html?
    Ruler guides are different from grids in that they can be positioned freely on a page or on a pasteboard. You can create two kinds of ruler guides: page guides, which appear only on the page on which you create them, or spread guides, which span all pages and the pasteboard of a multiple-page spread. You can drag any ruler guide to the pasteboard. A ruler guide is displayed or hidden with the layer on which it was created.
    I can see how you might have misinterpreted this by not reading carefully. Let me add a little emphasis to the critical wording: spread guides, which span all pages and the pasteboard of a multiple-page spread
    Note that it says spread, not, document. Further clarification should come fromthe next paragraph:
    New ruler guides always appear on the target spread. For example, if several spreads are visible in the document window and you drag a new guide into the window, the new guide becomes visible only on the target spread. (Emphasis added)
    Hi, Peter S.
    It seems that the Help's description favors a somewhat experienced user, rather than a newer user. Your clarifications are helpful; if you have a few spare moments, you might want to post a comment on the help page that suggest a bit of "disambiguation."
    Regards,
    Peter Gold
    KnowHow ProServices

  • Ruler guides are not exact, Can you Help?

    I'm dealing with a Block of text and the Frame is set to leading and the text is 10 pt and 11 pt leading. If i Drop a ruler guide on the baseline of the text I can put the continuation of the column in the next column and just line the top of the 2nd column frame to the base line of the next and the columns will line up exactly. my problem is about every 5th line of text I can't line the guide up exactly. It may be OCD but my lines are of by .0005 and I have to zero out the ruler guides nudge it .0005.
    I upgraded from indesign cs2 to cs5. In cs2 at 4000% view it was never a problem but now i waste time by having to zero the guide and type in the nudge in the controll pallete, before the upgrade this was never an issue.
    Is there something I'm missing?

    Excellent Idea, i set them up and they are working fine, I am able to snap to the grid. This is a great,  and negates the use and the time spent of laying down guides.
    But when the baseline grid is hidden I'm still not able to drop a ruler guide on the bottom of, lets say a serif on a lowercase "i" (this only happens about every 5th baseline, if you were to dray a ruler guide on 5 consecutive paragraph sentences and it seems like the one that don't work is the one i need, 50% of the time). With the baseline grid shown i shouldn't need the ruler guides as much, but it's still annoying that I can't do it. I've included a more Exaggerated close up of what I'm talking about. See how its just off on the 2nd line.
    I dont know if there is a fix? kind of a non issues with the baseline grid. Thanks for your help Peter.

  • Is there a way to create guides within ruler guides or aligned to ruler guides?

    So I was wondering for my own sake if there was a way to create guides within ruler guides or have it align to ruler guides? I am working on this magazine where the layout has a ruler guides. Which is inside the margins. I'm guessing this is to ensure the content is safe and also leaving adequate room for folios and running heads. This leaves me with the inside of the ruler guide to create my own grid. I tried doing this by hand and it seems to work fine however I was wondering is there a way to align the guides/grid (columns and rows) to the ruler guides instead of the margin or page? This would be extremely helpful as doing it by hand is quite the task. I'm trying to personally see how many rows and columns I can get in for a verstatile grid that can be used for different sorts of layout. (although I guess the grid could too many rows and columns) Any help would be greatly appreciated.

    Is there a way to make it align to the ruler guides instead of the page and margin? example of what i'm talking about:

  • How can I make the ruler guides work?

    I am working on a large document. For some reason, I cannot extend the ruler guides onto most pages. They will appear on some pages though. Does anyone know why this happens and how to fix it?

    If the mouse is over a page when you release, the guide will be confined to that page, so horizontal guides will appear only on one side of a two-page spread. You can hold Ctrl (Cmd) while dragging to make them extend across the entire spread and pasteboard, or releas the mouse over the pasteboard for the same result.

  • Changing ruler guide color not working

    Having an issue when I go to Layout > Ruler guides and change the ruler guide color, it doesn't update on the canvas and the color is still this mint green which is hard to see against a white background. Any idea on how to fix this?

    yeah i went into preferences and changed all the colors in there too, but the one for ruler guides isn't in preferences its under layout > ruler guides. not sure why its not updating

  • Change dpi for Ruler Guides

    Hello.
    I'd like to use exact size in dots when making layout for my document.
    Ruler Guide set to "px" displays pixel values for 72dpi, but I'll print the document in 300dpi. I'd still like to measure dots exactly, is there a way to change Ruler Guide pixels to 300dpi?
    Thanks in advance.

    Thanks for the quick replies.
    What I'm trying to do is to print enlarged pixel art illustrations, which are very low resolution images that are meant to be enlarged.
    The problem is, when we enlarge those low-res images, their new size must be exactly divisible by their original size. Let's say, if I have 7x7 picture (I know it's too small, just for the sake of example), it should have 14x14, 21x21 or maybe 70x70 frame, but not 22x22, since this will lead to scaling artifacts. The artifacts are only visible if you look very closely (or, alternatively, look from far away), but it appears that they are able to mess with pixel patterns slightly.
    In other words, each pixel art enlarged "pixel" should ideally have the same size in real dots, or else there'll be some approximations, which are harmful to clean pixel art. Not neccesarily, but it'd be cool.
    So, if it's possible, I'd like to define exactly how much points on print will the frame take in any given dpi (300 dpi is just an example).
    Eugene Tyson is pretty close with what I wanted to do. But it'd be even greater to position Ruler Guides using real points in their X and Y coordinates for given dpi, not only 72 dpi (otherwise I'll have to count all those grids manually). I guess that's impossible?
    Thanks.

  • InDesign Server Installation and Configuration Guide

    Hi everybody
    I try to ask one silly Q.
    Where can I get this document.
    I found many references but no link :(

    There is no document titled "InDesign Server Installation and Configuration Guide". This was an error in the CS2 version of Introduction to InDesign Server.
    You'll find the CS2 version of Introduction to InDesign Server in the InDesign Server CS2 ESD (the server download bundle). Even better you'll find the CS3 version in the InDesign CS3 Server SDK. Available at the following URL:
    http://www.adobe.com/devnet/indesign/
    The information about Java/CORBA is specific to CS3, but the information about scripting and SOAP applies to CS2.
    Let me know if that helps, or you still need something else.
    Regards,
    Heath Lynn
    Developer Technologies
    Adobe Systems

  • Rule based location substitution:

    Hi,
    We have the following scenario:
    Material  : X
    Location : A ->B -> C  (B is a substitute of A and C is a substitute of B)
    ATP position      A = 2
                               B = 2
                               C = 2
    Sales Order of 10 raised at A : Location substitution happens and partially confirms sales order with 6 quantities.
    Therefore new ATP position is as below
              A = 0
                               B = 0
                               C = 0
    Now we want to give confirmation(of 4 quantities) based on external lead time to vendor. This will be based on source-list in R/3.  The PO  to vendor can be based on any of the location based on  source-list. i.e. it can be from A,B, or C. The source list is dynamic and can change based on business decision.  i.e today  the PO plant can be A. It can change tomorrow and be B.
    What is the best possible way to model the scenario?
    The constraint is that we are not allowed to change the checking rule.
    Regards
    Sameer

    Hi Sameer,
    Your scenario is rules based location substitution and then MRP based upon source list.
    No matter whether plant A or plant B or C  comes on line item , demand should be placed on plant suggested by source list.
    I think you can control it using source list field MRP "1     Record relevant to MRP"  and planning Plant.
    Example : sales order line item plant is A and in source list planning plant is B then , PO will be created at plant B.
    Then it will be a two step MRP  process:
    1.P.O from Plant B to vendor
    2. STO from plant B to A.
    Thanks
    Pavan Verma

  • Script to crop (no delete pixel) snap to ruler guide

    Hi everyone,
    I manually make 1 ruler guide and automatically create 3 ruler guides. These 4 ruler guide form a rectangular.
    Could I have a script that crop my image (no delete pixel) to fit that rectangular formed by the 4 guides .
    Thank you in advance for your help!

    I had a fight scripting it. Strange thing were happing when I was testing. There seems to be a bug in scripting in cs6 -> CC 2014. Re-size layer seems to back up a history step. undoing the last step.  When I was using suspend history states I was loosing the last guide I set or the layer mask from my last test that I deleted the mask was restored and the script would fail.
    http://www.mouseprints.net/old/dpr/FitImageToGuides.jsx
    /* ==========================================================
    // 2014  John J. McAssey (JJMack)
    // ======================================================= */
    // This script is supplied as is. It is provided as freeware.
    // The author accepts no liability for any problems arising from its use.
    /* Help Category note tag menu can be used to place script in automate menu
    <javascriptresource>
    <about>$$$/JavaScripts/FitImageToGuides/About=JJMack's FitImageToGuides .^r^rCopyright 2014 Mouseprints.^r^rFour and only four guides are required</about>
    <category>JJMack's Script</category>
    </javascriptresource>
    // enable double-clicking from Mac Finder or Windows Explorer
    #target photoshop // this command only works in Photoshop CS2 and higher
    // bring application forward for double-click events
    app.bringToFront();
    // ensure at least one document open
    if (!documents.length) alert('There are no documents open.', 'No Document');
    else {
      // declare Global variables
      main(); // at least one document exists proceed
      //app.activeDocument.suspendHistory('Fix Image to Guides','main()');  // seems to be a problem layer is resize Photoshop back up a history step ?
    //                            main function                                  //
    function main() {
      // declare local variables
      var orig_ruler_units = app.preferences.rulerUnits;
      var orig_type_units = app.preferences.typeUnits;
      var orig_display_dialogs = app.displayDialogs;
      app.preferences.rulerUnits = Units.PIXELS; // Set the ruler units to PIXELS
      app.preferences.typeUnits = TypeUnits.POINTS;   // Set Type units to POINTS
      app.displayDialogs = DialogModes.NO; // Set Dialogs off
      try { code(); }
      // display error message if something goes wrong
      catch(e) { alert(e + ': on line ' + e.line, 'Script Error', true); }
      app.displayDialogs = orig_display_dialogs; // Reset display dialogs
      app.preferences.typeUnits  = orig_type_units; // Reset ruler units to original settings
      app.preferences.rulerUnits = orig_ruler_units; // Reset units to original settings
    //                           main function end                               //
    // The real code is embedded into this function so that at any point it can return //
    // to the main line function to let it restore users edit environment and end      //
    function code() {
      if (app.activeDocument.guides.length != 4) { alert("Four and only four Guides are required"); return; } // quit
      // get guides;
      var theVert = new Array;
      var theHor = new Array;
      for (var m = 0; m < app.activeDocument.guides.length; m++) {
      if (app.activeDocument.guides[m].direction == Direction.HORIZONTAL) {theVert.push(app.activeDocument.guides[m].coordinate)}
      else {theHor.push(app.activeDocument.guides[m].coordinate)}
      if (theHor.length != 2 || theVert.length != 2) { alert("Four Guides two vertical and two horizontal are required"); return; } // quit
      getTarget=getSelectedLayersIdx();
      if (getTarget.length!=1){ alert("The number of layers targeted is " + getTarget.length ); return; } // quit
      if (app.activeDocument.activeLayer.isBackgroundLayer ) { alert("Can not resize the background layer"); return; } // quit
      if (!app.activeDocument.activeLayer.visible ) { alert("Active layer is  not visible"); return; } // quit
      //if (hasLayerMask()) { alert("Active layer is  Masked"); return; } // quit
      if (app.activeDocument.activeLayer.kind == LayerKind.NORMAL  || app.activeDocument.activeLayer.kind == LayerKind.SMARTOBJECT && hasLayerMask()) { deleteLayerMask ();}
      if (app.activeDocument.activeLayer.kind != LayerKind.NORMAL  && app.activeDocument.activeLayer.kind != LayerKind.SMARTOBJECT )  {
      alert("Active layer is " + app.activeDocument.activeLayer.kind); return; } // quit
      // set selection to the ared defined but the guide lines the selectiom may get undone bt the bug in .resize() backing up a steo in histoty ???
      app.activeDocument.selection.select([[theHor[0], theVert[0]], [theHor[1], theVert[0]], [theHor[1], theVert[1]], [theHor[0], theVert[1]]]);
      // resize current normal layer or smart object layer to just cover selection canvas area aspect ratio and size and mask off any overflow
      var SB = app.activeDocument.selection.bounds; // Get selection bounds
      var SWidth = (SB[2].value) - (SB[0].value); // Area width
      var SHeight = (SB[3].value) - (SB[1].value); // Area height
      var LB = app.activeDocument.activeLayer.bounds; // Get Active layers bounds
      var LWidth = (LB[2].value) - (LB[0].value); // Area width
      var LHeight = (LB[3].value) - (LB[1].value); // Area height
      var userResampleMethod = app.preferences.interpolation; // Save interpolation settings
      app.preferences.interpolation = ResampleMethod.BICUBIC; // resample interpolation bicubic
      try {
      if (LWidth/LHeight<SWidth/SHeight) { // layer's Aspect Ratio less the Canvas area Aspect Ratio
      var percentageChange = ((SWidth/LWidth)*100); // Resize to canvas area width
      app.activeDocument.activeLayer.resize(percentageChange,percentageChange,AnchorPosition.MIDDLECENTER);
      else {
      var percentageChange = ((SHeight/LHeight)*100); // resize to canvas area height
      app.activeDocument.activeLayer.resize(percentageChange,percentageChange,AnchorPosition.MIDDLECENTER);
      catch(e) {
      app.preferences.interpolation = userResampleMethod; // Reset interpolation setting
      selectFront(); // Photoshop make top layer current when none are targeted
      code(); // Retry  with top visible layer selected targeted
      return; // rest would have been done during the retry
      app.preferences.interpolation = userResampleMethod; // Reset interpolation setting
      // Seems to be a bug in  resize() the document seems to first be backed up a step in history
      app.activeDocument.selection.select([[theHor[0], theVert[0]], [theHor[1], theVert[0]], [theHor[1], theVert[1]], [theHor[0], theVert[1]]]); // redo the selection
      align('AdCH'); // align to horizontal center
      align('AdCV'); // align to vertical center
      addLayermask(); // add layer mask
    // Helper Functions
    function align(method) {
      var desc = new ActionDescriptor();
      var ref = new ActionReference();
      ref.putEnumerated( charIDToTypeID( "Lyr " ), charIDToTypeID( "Ordn" ), charIDToTypeID( "Trgt" ) );
      desc.putReference( charIDToTypeID( "null" ), ref );
      desc.putEnumerated( charIDToTypeID( "Usng" ), charIDToTypeID( "ADSt" ), charIDToTypeID( method ) );
      try{executeAction( charIDToTypeID( "Algn" ), desc, DialogModes.NO );}
      catch(e){}
    // Function: hasLayerMask
    // Usage: see if there is a raster layer mask
    // Input: <none> Must have an open document
    // Return: true if there is a vector mask
    function hasLayerMask() {
      var hasLayerMask = false;
      try {
      var ref = new ActionReference();
      var keyUserMaskEnabled = app.charIDToTypeID( 'UsrM' );
      ref.putProperty( app.charIDToTypeID( 'Prpr' ), keyUserMaskEnabled );
      ref.putEnumerated( app.charIDToTypeID( 'Lyr ' ), app.charIDToTypeID( 'Ordn' ), app.charIDToTypeID( 'Trgt' ) );
      var desc = executeActionGet( ref );
      if ( desc.hasKey( keyUserMaskEnabled ) ) { hasLayerMask = true; }
      catch(e) { hasLayerMask = false; }
      return hasLayerMask;
    function getSelectedLayersIdx(){
          var selectedLayers = new Array;
          var ref = new ActionReference();
          ref.putEnumerated( charIDToTypeID("Dcmn"), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );
          var desc = executeActionGet(ref);
          if( desc.hasKey( stringIDToTypeID( 'targetLayers' ) ) ){
             desc = desc.getList( stringIDToTypeID( 'targetLayers' ));
              var c = desc.count
              var selectedLayers = new Array();
              for(var i=0;i<c;i++){
                try{
                   activeDocument.backgroundLayer;
                   selectedLayers.push(  desc.getReference( i ).getIndex() );
                }catch(e){
                   selectedLayers.push(  desc.getReference( i ).getIndex()+1 );
           }else{
             var ref = new ActionReference();
             ref.putProperty( charIDToTypeID("Prpr") , charIDToTypeID( "ItmI" ));
             ref.putEnumerated( charIDToTypeID("Lyr "), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );
             try{
                activeDocument.backgroundLayer;
                selectedLayers.push( executeActionGet(ref).getInteger(charIDToTypeID( "ItmI" ))-1);
             }catch(e){
                selectedLayers.push( executeActionGet(ref).getInteger(charIDToTypeID( "ItmI" )));
          return selectedLayers;
    function selectFront() {
    // Alt+. shortcut select ftont visible layer
    var idslct = charIDToTypeID( "slct" );
        var desc250 = new ActionDescriptor();
        var idnull = charIDToTypeID( "null" );
            var ref207 = new ActionReference();
            var idLyr = charIDToTypeID( "Lyr " );
            var idOrdn = charIDToTypeID( "Ordn" );
            var idFrnt = charIDToTypeID( "Frnt" );
            ref207.putEnumerated( idLyr, idOrdn, idFrnt );
        desc250.putReference( idnull, ref207 );
        var idMkVs = charIDToTypeID( "MkVs" );
        desc250.putBoolean( idMkVs, false );
    executeAction( idslct, desc250, DialogModes.NO );
    function deleteLayerMask (apply) {
    // Delet Layer mask default to not apply first
    if (apply == undefined) {var apply = false};
    try {
    var idDlt = charIDToTypeID( "Dlt " );
        var desc9 = new ActionDescriptor();
        var idnull = charIDToTypeID( "null" );
            var ref5 = new ActionReference();
            var idChnl = charIDToTypeID( "Chnl" );
            var idChnl = charIDToTypeID( "Chnl" );
            var idMsk = charIDToTypeID( "Msk " );
            ref5.putEnumerated( idChnl, idChnl, idMsk );
        desc9.putReference( idnull, ref5 );
        var idAply = charIDToTypeID( "Aply" );
        desc9.putBoolean( idAply, apply );
    executeAction( idDlt, desc9, DialogModes.NO );
    catch (e) {}
    function addLayermask(){
    // Add layer Mask
    var idMk = charIDToTypeID( "Mk  " );
        var desc52 = new ActionDescriptor();
        var idNw = charIDToTypeID( "Nw  " );
        var idChnl = charIDToTypeID( "Chnl" );
        desc52.putClass( idNw, idChnl );
        var idAt = charIDToTypeID( "At  " );
            var ref19 = new ActionReference();
            var idChnl = charIDToTypeID( "Chnl" );
            var idChnl = charIDToTypeID( "Chnl" );
            var idMsk = charIDToTypeID( "Msk " );
            ref19.putEnumerated( idChnl, idChnl, idMsk );
        desc52.putReference( idAt, ref19 );
        var idUsng = charIDToTypeID( "Usng" );
        var idUsrM = charIDToTypeID( "UsrM" );
        var idRvlS = charIDToTypeID( "RvlS" );
        desc52.putEnumerated( idUsng, idUsrM, idRvlS );
    executeAction( idMk, desc52, DialogModes.NO );
    // Un link layer mask just added fron the layers content
    var idsetd = charIDToTypeID( "setd" );
        var desc2 = new ActionDescriptor();
        var idnull = charIDToTypeID( "null" );
            var ref1 = new ActionReference();
            var idLyr = charIDToTypeID( "Lyr " );
            var idOrdn = charIDToTypeID( "Ordn" );
            var idTrgt = charIDToTypeID( "Trgt" );
            ref1.putEnumerated( idLyr, idOrdn, idTrgt );
        desc2.putReference( idnull, ref1 );
        var idT = charIDToTypeID( "T   " );
            var desc3 = new ActionDescriptor();
            var idUsrs = charIDToTypeID( "Usrs" );
            desc3.putBoolean( idUsrs, false );
        var idLyr = charIDToTypeID( "Lyr " );
        desc2.putObject( idT, idLyr, desc3 );
    executeAction( idsetd, desc2, DialogModes.NO );

  • Snapping to ruler guides

    Does anybody know why I can't seem to snap an edge of an object to a ruler guide.
    I figure its one of the three.
    1)A bug in CS3
    2)User error - an option is turned off someplace.
    3)Adobe never thought it.
    I am really hoping its #2. But from the help file it looks like #3. I have no problem snapping with a point. But there are times that a guide is easier than the align tools. Though I am getting more use to them all the time.
    Silk

    > I suspect it's because finding the extreme edges of a complex shape, especially a masked shape, is complex, so it's too difficult to program
    Difficult to program? It's difficult to program a bounding box, and have that bounding box snap to guides? Other programs don't seem to find that difficult.
    > the fact that Illustrator's guides respond to the mouse...is much more powerful and versatile.
    More "powerful and verstatle" than what? I certainly do not find Illustrator's snaps to be "more powerful and versatile" than FreeHand, CorelDraw, or Canvas. In fact, I often find Illustrator's snap behaviors downright unreliable unless you are working at a high zoom level.
    JET

  • How to change ruler guide to custom units

    I have changed the line grid to a custom size by this code:
    InterfacePtr<IUnitOfMeasureSettings> iUOMPref((IUnitOfMeasureSettings*)::QueryPreferences(IID_IUNITOFMEASURESETTINGS, pDoc->GetUIDRef()));
    iUOMPref->SetVertCustomPoints(gridDivision);
    where gridDivision is my number of points. This works.
    Now I'd like to apply the same unit to the vertical ruler guide. The value is already applied to custom units, but the measurement shown is still millimeters.
    What is the right way to switch to custom units?
    Thanks!

    Unfortunately, the last change did not update the vertical ruler immediately. So I decided to use a boss command:
    /* set line grid to user defined size (gridDivision):*/
    InterfacePtr<IUnitOfMeasureSettings> iUOMPref((IUnitOfMeasureSettings*)::QueryPreferences(IID_IUNITOFMEASURESETTINGS, pDoc->GetUIDRef()));
    iUOMPref->SetVertCustomPoints(gridDivision);
    /* set vertical ruler to user defined size:*/
    InterfacePtr<ICommand> smuCmd( CmdUtils::CreateCommand( kSetMeasureUnitsCmdBoss ) );
    if( !smuCmd )
        return false;
    InterfacePtr<IMeasureUnitsCmdData> smuData( smuCmd, IID_IIMEASUREUNITSCMDDATA );
    if( !smuData )
        return false;
    smuData->Set( pDoc->GetUIDRef(),
                    iUOMPref->GetYUnitOfMeasure(),
                       kRulerCustomMSBoss,
                       iUOMPref->GetTextUnitOfMeasure(),
                       iUOMPref->GetTextSizeUnitOfMeasure(),
                       iUOMPref->GetPrintUnitOfMeasure(),
                       iUOMPref->GetLineUnitOfMeasure(),
                       iUOMPref->GetHorzCustomPoints(),
                       gridDivision,
                       iUOMPref->GetKeyNudgeInc() ,
                       iUOMPref->GetPointsPerInch());
    if (CmdUtils::ProcessCommand(smuCmd) != kSuccess)
        return false;  
    Works fine.

  • How do you make a picture bigger to fit ruler guides, without losing quality.

    i put ruler guides to make a half inch border around my document and i have an image but i want to make it bigger to cover the entire square. How can i do this without pixelating my image its 900x1440. thanks

    You can get a very nice upsampled result by using Photoshop CC's detail-preserving upsampling setting in the Image - Image Size dialog.
    -Noel

  • Cannot locate the Cover Flow view in iTunes 11. Is it still active/available?

    Cannot locate the Cover Flow view in iTunes11. Is it still available/active?

    No. See this article for features killed-off in iTunes 11 including Cover Flow. http://news.cnet.com/8301-13579_3-57556548-37/7-features-apple-killed-off-in-itu nes-11/

Maybe you are looking for

  • Conversion from FTP to SFTP

    Hi All, I am using a FTP connection interface...there is a new requirement from one of the customer to have SFTP(SSH FTP)..But the current version of PI i use doesn't support SFTP-.i am looking for alternative approach for making FTP as SFTP. can any

  • Emails dumped randomly into reminders/ notes box

    The title of this posting is fairly self-explanatory: at some point relatively recently, a random assortment of emails I have sent myself from my office to my home email address over the last year (and all neatly filed into one particular inbox) have

  • GE40 2OC Dragon eyes - NVIDIA GeForce GTX760M(error code 43)

    please help i brought this laptop and installed window8.1, and for some reason the Nvidia vga is not working :((((((

  • Help required to complete my flex project

    Hi All, I am working on a design project. I have some bugs with the current implementation (listed below). I am not really sure on how to get this fixed. Please help. URL (with source view) http://gireeshkumar.ind.in/designDemo/demo.html# Issues. 1.

  • Tranferring data from iPad to iPad2

    I'm selling my first generation iPad and buying an iPad2. What should I do when the IPad2 arrives? When I connect it to my Mac, will it automatically transfer my stuff to the new model? Then do I erase the stuff on the first generation? Thanks Jeff