0 Replies Latest reply on Nov 24, 2015 2:32 AM by che47audio

    Import graphic/image

    che47audio Level 1

      Hi,

       

      I'm looking to import a jpg in to a mif. I have a batch of mifs within each I need to import an image directly underneath a certain table (the first table in doc).I've used the following to identify the table but am unsure how to import the jpg underneath. I have copied the jpg in the project folder so the location is C:\Users\Chris\Desktop\test\NR.jpg. If any can point me in the right direction it would greatly appreciated.



      var tbl;

        

         tbl = doc.FirstTblInDoc;

          while (tbl.ObjectValid () === 1) {

              if (tbl.TblTag === "TableTitle") {

                 /// IMPORT GRAPHIC BELOW TABLE

              }

            

          }

       

      Cheers

       

      Chris