Arbortext Command Language > Functions by Alphabetical Listing > graphic_tag_name
  
graphic_tag_name
graphic_tag_name ([doc[, flags]])
This function returns the name of the primary graphic element defined in the document type's .dcf file or .style file for the document specified by doc. The function returns the null string if no graphic tag was designated for the document type or if doc is invalid or an ASCII file. If doc is omitted or 0, the current document is used.
The following flags can be set:
Value
Description
0x01
Prompt for the graphic tag name if there are more than one in context (only applies if bit 0x04 is also set).
0x02
Only include graphic tags that use an entity attribute (only applies if bit 0x04 is also set).
0x04
Only return graphic tags that are valid in the current document context.