1 Reply Latest reply on Oct 8, 2009 6:21 AM by [Jongware]

    [VB] Gradient Edit

    Jan.Meister

      Hello There,

       

      i have a little problem. I Need to edit a existing gradient. It's no problem to set the angle and so on, but i can't change the color.

       

              Dim objDoc As InDesign.Document = DirectCast(objInDesign.Open(inddfile, False), InDesign.Document)

              objDoc.ObjectStyles.Item("left_1").GradientFillAngle = 45

       

      thats what i have (well, yes there ar emore code, but it's not relevant to my problem.).

       

      Now i need to set the begining color and the end color. But how?!? xD

       

      i hope somebody can help me

       

      with best regards

       

      jan (from germany xD)