Share

AcDbRasterImageDef::createImageDictionary

C++

static Acad::ErrorStatus createImageDictionary(
    AcDbDatabase* pDb, 
    AcDbObjectId& dictId
);

Description

Call this function to create a new image dictionary if the function AcDbRasterImageDef::imageDictionary returns 0, indicating that no image dictionary exists. The value dictId set by this function can be used as if the value had been returned by imageDictionary.

The AutoCAD database for the dictionary is typically acdbCurDwg().

Returns Acad::eOk if successful. Other values are returned if the dictionary could not be created.

Parameters

Parameters Description
pDb Input AutoCAD database in which to create the dictionary
dictId Returns object ID of the newly created dictionary

Links

AcDbRasterImageDef

Was this information helpful?