graphicpathhook
graphicpathhook
Function prototype:
newname = hook (filename, oid)
Synopsis
Use with:
add_hook(hookname, func[, prepend])
remove_hook(hookname, func)
where hookname is graphicpathhook.
This hook is used to resolve a graphic file name to display the graphic image in the Edit pane.
Arguments
• filename is the path and file name of the graphic as determined from the document instance, after any entity path name resolution has been done. The hook may substitute a different file name by returning its path and file name. Otherwise, the hook must return filename
• oid is the object ID of the graphic tag identified by filename.