Article View: adobe.scripting.indesign
Article #19444Re: VB6&ID - Replace function like ImportXML
From: Mark Keus
Date: Mon, 09 Dec 2002 09:00
Date: Mon, 09 Dec 2002 09:00
11 lines
1047 bytes
1047 bytes
This should handle your resize problem:
Dim myInDesign As InDesign.Application
Set myDocument = myInDesign.ActiveDocument
Set mypage = myDocument.Pages.Item(1)
'choose image with script-label "photo"
Set MyImage = myPage.PageItems.Item("Photo")
'resize
MyImage.Fit (idContentToFrame)
Technical Details
Message-ID:
<1de6b092.9@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!diablo.theplanet.net!diablo.netcom.net.uk!netcom.net.uk!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de6b092.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,9fb81744ad733cf6 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2002-12-09 01:08:04 PST From: "Mark Keus" <mk.td@totalidentity.nl> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!diablo.theplanet.net!diablo.netcom.net.uk!netcom.net.uk!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: VB6&ID - Replace function like ImportXML Message-ID: <1de6b092.9@WebX.la2eafNXanI> Date: Mon, 9 Dec 2002 01:00:35 -0800 References: <1de6b092.-1@WebX.la2eafNXanI> Lines: 11 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit