IRelatedObjectClassEvents2 Interface

Provides access to events that occur when related objects are modified.

Description

The IRelatedObjectClassEvents2interface is an optional interface that is implemented by class extensions to receive messages about objects that are changed, moved or rotated in related object classes.

Members

Name Description
Method RelatedObjectChanged Notifies this object that a related object changed.
Method RelatedObjectMoved Notifies this object that a related object moved.
Method RelatedObjectRotated Notifies this object that a related object rotated.
Method RelatedObjectSetMoved Notifies this object that a set of objects with relationships to the input set of objects moved.
Method RelatedObjectSetRotated Notifies this object that a set of objects with relationships to the input set of objects rotated.

IRelatedObjectClassEvents2.RelatedObjectChanged Method

Notifies this object that a related object changed.

Public Sub RelatedObjectChanged ( _
    ByVal RelationshipClass As IRelationshipClass, _
    ByVal objectThatChanged As IObject, _
    ByVal RelatedObject As IObject _
)
public void RelatedObjectChanged (
    IRelationshipClass RelationshipClass,
    IObject objectThatChanged,
    IObject RelatedObject
);

IRelatedObjectClassEvents2.RelatedObjectMoved Method

Notifies this object that a related object moved.

Public Sub RelatedObjectMoved ( _
    ByVal RelationshipClass As IRelationshipClass, _
    ByVal objectThatChanged As IObject, _
    ByVal moveVector As ILine, _
    ByVal RelatedObject As IObject _
)
public void RelatedObjectMoved (
    IRelationshipClass RelationshipClass,
    IObject objectThatChanged,
    ILine moveVector,
    IObject RelatedObject
);

IRelatedObjectClassEvents2.RelatedObjectRotated Method

Notifies this object that a related object rotated.

Public Sub RelatedObjectRotated ( _
    ByVal RelationshipClass As IRelationshipClass, _
    ByVal objectThatChanged As IObject, _
    ByVal Origin As IPoint, _
    ByVal Angle As Double, _
    ByVal RelatedObject As IObject _
)
public void RelatedObjectRotated (
    IRelationshipClass RelationshipClass,
    IObject objectThatChanged,
    IPoint Origin,
    double Angle,
    IObject RelatedObject
);

IRelatedObjectClassEvents2.RelatedObjectSetMoved Method

Notifies this object that a set of objects with relationships to the input set of objects moved.

Public Sub RelatedObjectSetMoved ( _
    ByVal RelationshipClass As IRelationshipClass, _
    ByVal objectsThatNeedToChange As ISet, _
    ByVal objectsThatChanged As ISet, _
    ByVal moveVector As ILine _
)
public void RelatedObjectSetMoved (
    IRelationshipClass RelationshipClass,
    ISet objectsThatNeedToChange,
    ISet objectsThatChanged,
    ILine moveVector
);

IRelatedObjectClassEvents2.RelatedObjectSetRotated Method

Notifies this object that a set of objects with relationships to the input set of objects rotated.

Public Sub RelatedObjectSetRotated ( _
    ByVal RelationshipClass As IRelationshipClass, _
    ByVal objectsThatNeedToChange As ISet, _
    ByVal objectsThatChanged As ISet, _
    ByVal Origin As IPoint, _
    ByVal Angle As Double _
)
public void RelatedObjectSetRotated (
    IRelationshipClass RelationshipClass,
    ISet objectsThatNeedToChange,
    ISet objectsThatChanged,
    IPoint Origin,
    double Angle
);

Classes that implement IRelatedObjectClassEvents2

Classes Description

Remarks

RelatedObjectMoved and RelatedObjectRotated are currently reserved. A class extension implementing this interface must include these two methods, but since they will not be called, the methods should remain empty. Feature movement and rotation triggers the RelatedObjectSetMoved and RelatedObjectSetRotated methods, where functionality should be defined.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.