🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #10016

Anchored Frame

#10016
From: Eli
Date: Mon, 17 Jul 2006 15:13
28 lines
2150 bytes
Hi Everybody,
I'm trying to create (.NET) an anchored text frame (or image frame)
within another (container) text frame.
The following action are made each time I'm creating the text frame:
a. The New Frame is added on the insertion point
b. The New Frame AnchoredObjectSettings is filled: like anchored
position etc.
c. The Geometic Bounds of the New Frame is filled.
d. The content of the New Frame is added
e. The Fitting method is used.

Questions:
1. Why, in order to make the fitting, I MUST initialize the geometric
Bounds?
When creating a new Frame, it initializes in a very tiny scale, and
after placing the content, the fitting is not working otherwise the
frame's Geomtric Bounds are set.

(while using InDesign UI and inserting a new Anchored Object, the user
is asked to fill the Height and Width.)

2. I was trying to use the "Anchored Object Defaults" with the
properties: InitialAnchorHeight, InitialAnchorWidth and Still, this did
not work as well.

I'll appreciate any answer.
Regards,
Eli
Technical Details
Message-ID: <1153149190.816410.133530@35g2000cwc.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!35g2000cwc.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,5974ede5d6b7177c,start
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!35g2000cwc.googlegroups.com!not-for-mail
From: "Eli" <eli@netgo-ltd.co.il>
Newsgroups: adobe.scripting.indesign
Subject: Anchored Frame
Date: 17 Jul 2006 08:13:10 -0700
Organization: http://groups.google.com
Lines: 29
Message-ID: <1153149190.816410.133530@35g2000cwc.googlegroups.com>
NNTP-Posting-Host: 80.178.175.31
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1153149196 17656 127.0.0.1 (17 Jul 2006 15:13:16 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 17 Jul 2006 15:13:16 +0000 (UTC)
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe)
X-HTTP-Via: 1.1 Bezeq-L2TP-PT-Stack1 (NetCache NetApp/5.6.2R1)
Complaints-To: groups-abuse@google.com
Injection-Info: 35g2000cwc.googlegroups.com; posting-host=80.178.175.31;
   posting-account=X7-8cQ0AAAB63RCJZWUTiMdw1BUZIgiW