
509
ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
Last updated 9/26/2011
The method returns the created anchored object on success.
On failure, the method assigns one of the following values to
FA_errno
:
Returns
Object
Syntax
NewAnchoredObject(objType, textloc)
Parameters
NewAnchoredAFrame
Description
Creates an anchored AFrame object.
See
NewAnchoredObject
under the Doc class for more information.
Returns
AFrame
Syntax
NewAnchoredAFrame(textloc)
Parameters
Error
Reason
Constants.FE_BadDocId(-2)
Invalid document.
Constants.FE_BadNew(-23)
Object cannot be created.
Constants.FE_BadObjId(-3)
Invalid object.
Constants.FE_BadOperation (-27)
Method call specified a bad operation.
Constants.FE_NotTextObject (-41)
Object specified for text location is not a paragraph (FO_Pgf).
Constants.FE_OffsetNotFound(-21)
Offset specified for the text location could not be found in the specified paragraph or text line.
Parameter name
Data Type
Optional
Description
objType
int
No
The type of object to create (for example, FO_Marker or FO_Fn).
textloc
TextLoc
No
The text location at which to insert the anchored object.
Parameter name
Data Type
Optional
Description
textloc
TextLoc
No
The text location at which to insert the anchored AFrame.