Import graphic/image

New Here ,
Nov 23, 2015

Copy link to clipboard

Copied

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

TOPICS
Scripting

Views

210

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Have something to add?

Join the conversation