Share

AcDbObjectContextInterface

Class Hierarchy

AcRxObject
    AcDbObjectContextInterface

C++

class AcDbObjectContextInterface : public AcRxObject;

File

dbObjectContextInterface.h

Description

Abstract protocol extension interface class which allows supporting context-specific behavior on an object.

Custom objects provide an implementation of this interface and associate it with their AcRxClass to provide context-dependent object behavior. One example of such behavior is where the context is the current viewport scale, and where the custom object behavior for text is the text height, orientation, and position. Applications can define other context types (AcDbObjectContext custom classes) and store them in custom collections (AcDbObjectContextCollection). By implementing this interface, custom objects expose information about which context types they support and when context instances they participate in.

Links

AcDbObjectContextInterface Methods

Was this information helpful?