
627
ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
Last updated 9/26/2011
TextLoc
TextLoc
Description
TextLoc specifies a location within the text of a paragraph or a graphic text line.
Returns
TextLoc
Syntax
TextLoc(obj, offset)
Parameters
TextRange
TextRange
Description
TextRange specifies a text range. A text range can span paragraphs. However, it cannot span graphic text lines or flows.
Note:
beg.offset
and
end.offset
fields of aTextRange object can specify offsets relative to the beginning and end of
an object. In addition, they can use the special value Constants.FV_OBJ_END_OFFSET (0x50000000).
Note:
Constants.FV_OBJ_END_OFFSET (0x50000000) specifies the offset of the last character in the object containing
the text range.
Returns
TextRange
Syntax
TextRange(beg, end)
Parameters
Parameter name
Data Type
Optional
Description
obj
any
No
FO_Pgf or FO_TextLine object.
offset
int
No
Characters from the beginning of the object.
Parameter name
Data Type
Optional
Description
beg
TextLoc
No
The beginning of the range.
end
TextLoc
No
The end of the range.