1 Reply Latest reply on Jan 25, 2012 3:51 AM by bruno.lebon

    Height and Width of Anchored Frames


      Hi there,


      I have written a script to automate the formatting of anchored frames, and the following does not seem to work:


      var frame = app.ActiveDoc.FirstSelectedGraphicInDoc.FrameParent;

      frame.Alignment = Constants.FV_ALIGN_RIGHT;

      frame.Height = 100;

      frame.Width = 200;


      When running the script, the graphic inside the anchored frame is selected, and the frame is aligned to the right, but the height and width of the AFrame do not change to 100 pt and 200 pt. Am I doing something wrong here?


      I am using Framemaker 10 on Windows 7 (64 bit).