7 Replies Latest reply on Jul 8, 2015 2:20 AM by Sajeev Sridharan

    object style change automatic size

    hamdifem Level 1

      In my document "myObject" in the name of an object style

      I want to change the properties of that object style wiht a commend

      The open automatically shut size off the open


      if(                .textFramePreferences.autoSizingType != AutoSizingTypeEnum.OFF){

                         .textFramePreferences.autoSizingType = AutoSizingTypeEnum.WIDTH_ONLY;


      } else {         .textFramePreferences.autoSizingType = AutoSizingTypeEnum.OFF;



      How can to object styles by "myObject"