Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

Turn on Autosizing Options in Object Style created/modified by java script

Return to Member Forum

  • Author
    Posts
    • #81118
      Marcin Ploch
      Member

      Hello,

      Is there a pissibility to use use such poperities:

      1. autoSizingType = AutoSizingTypeEnum.HEIGHT_ONLY
      2. autoSizingReferencePoint = AutoSizingReferenceEnum.TOP_CENTER_POINT

      belonging to TextFrame object during making a definition of ObjectStyle using java script?

      In set of poperties belong to Object Style Object I found only

      .enableTextFrameAutoSizingOptions = true;

      Marcin

    • #81126
      Peter Kahrel
      Participant
      oStyle.enableTextFrameAutoSizingOptions = true;
      oStyle.textFramePreferences.autoSizingType = AutoSizingTypeEnum.HEIGHT_ONLY;

      You should learn how to use the object-model viewer, either the one built into the ESTK or one of the object-model viewers available on the web.

      Peter

    • #81147
      Marcin Ploch
      Member

      Thank You Peter,
      I’ m learning Indd ObjectModel and java scripting every day.
      I’ve started my adventure with programming two weeks ago, so there is very long way to travel …
      I try to use excellent object-model viewer by Gregor Fellenz.
      I’ve started to read his very interesting book too. Unfortunetly it is only in German so it is extremely tiring.
      In addition I’m trying to learn how to use Data Browser in ESTK. It is really insructive :-)

      Regards
      Marcin

Viewing 2 reply threads
  • You must be logged in to reply to this topic.
Forum Ads