Skip to main content
Known Participant
November 23, 2015
Question

Import graphic/image

  • November 23, 2015
  • 0 replies
  • 277 views

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

This topic has been closed for replies.