🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #20520

Images Size - InDesign Script

#20520
From: Micha0827
Date: Mon, 08 Jul 2002 22:43
17 lines
1467 bytes
Hello, 

I insert a Image in my InDesign Document. How i can insert a Text exactly under this image with the same Width dimensions ? 

Thank you, here is my Code: 

    Dim myInDesign As InDesign.Application 
����Set myInDesign = CreateObject("InDesign.Application.2.0") 
����Set myDocument = myInDesign.Documents.Add 
����For i = 1 To 5 
��������Set myPage = myDocument.Pages.Add 
��������myFile = "f:\bilder florida\Film1\" & i & ".tif" 
��������Set myImage = myPage.Place(myFile, placePoint:=Array("6p", "6p")) 
��������Set myTextFrame = myPage.TextFrames.Add 
��������myTextFrame.GeometricBounds = Array("30p", "24p", "31p", "6p") 
��������myTextFrame.TextContents = "1" 
����Next i
Technical Details
Message-ID: <ef98a39.-1@WebX.aaQKaf7vad4>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f939a,56cf2cbc66002471,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-07-08 16:08:10 PST
From: Micha0827 <gross.m@hamburg.de>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Images Size - InDesign Script
Message-ID: <ef98a39.-1@WebX.aaQKaf7vad4>
Date: Mon, 8 Jul 2002 15:43:49 -0700
Lines: 19
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit