• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Import graphic/image

New Here ,
Nov 23, 2015 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

244

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation