1 Reply Latest reply on Apr 22, 2010 4:08 AM by [Jongware]

    AllPageItems

    Coully

      Hello

       

      When iterating through pageitems is there a way to find out which type (Textframe, Oval, Rectangle, Polygon) it is without getting the system type (getType() etc)

       

      For Example;

       

        var PageItems = doc.AllPageItems;

       

        for (int i = 1; i <= PageItems.Length; i++)

        {

              var Type = PageItems[i].----TypeEnumeration----;

       

         }      

       

      Thanks

       

      Mark