3 Replies Latest reply on Oct 23, 2009 8:08 PM by Yuliaart

    JS InDesign CS4: Check Rectangle if it contains artwork or empty.

    Yuliaart Level 1

      Hi,

       

      I need to check selected Rectangle if it contains Graphic or it's empty and I need to do it by checking selection, but I couldn't find anything helpful in the OMV on the Selection, and none of what I tried works.

       

       

      if (app.activeDocument.selection[0].child != Graphic)

      {

      }

       

       

      Your help is highly appriciated.

      Yulia