Share

AcDbHostApplicationServices::getNewOleClientItem

C++

virtual ACDBCORE2D_PORT Acad::ErrorStatus getNewOleClientItem(
    COleClientItem*& pItem
);

Description

This method is called by the AcDb library to get an instance of a COleClientItem from your derived AcDbHostApplicationServices object. You can return a custom class derived from COleClientItem or just an instance of COleClientItem. The COleClientItem instance should be contained in an OLE document (a COleDocument-derived document). The COleClientItem instance should be the same for each unique value of id. That is, any particular AcDbObjectId value will always get the same COleClientItem. Your application may need to implement a mapping mechanism to match the object IDs with their corresponding COleClientItem objects.

Parameters

Parameters Description
pItem OLE client item corresponding to id

Links

AcDbHostApplicationServices

Was this information helpful?