C++
virtual Acad::ErrorStatus setActiveFileName( const ACHAR * pPathName );
Description
This function sets the active path name of the externally referenced image file. The active path is the path to the file that is actually used to define the image in the current drawing. However, the active path is not persistent, and is not saved in the drawing file. If pPathName does not point to a valid image file, then the active path is unchanged.
Returns Acad::eOk if successful or Acad::eInvalidInput otherwise.
Parameters
Parameters | Description |
---|---|
pPathName | Input path name of the image |