Description

Event fired when an McImage.Aoi property is assigned a new value or when the Aoi features change.

Syntax

Private Sub object_AoiChanged(Image, Property)

The AoiChanged Event syntax has these parts:

PartDescription
objectA McImages object.
ImageA McImage object.

The McImage with the Aoi property being assigned to.

PropertyA Long value.

The property ID. This will be one of the mcRegionLibPropertyIDs enum values.

Remarks

McImage.Aoi is an McRegions object (McRegions are derived from McFeatures). This event is fired for all Aoi property assignments, even those that only affect the displayed appearance of the Aoi. The property ID's of the appearance changes are all in the range ID_IDisplayedObjects_RemoveGraphObj through ID_IDisplayedObjects_SetLineEnding. Note that the McFeatures.ChangeCounter property can also be compared against a previously captured value to see if any significant change has been made to the Aoi.