IMcPointsSignature Property |
![]() |
Namespace: MediaCy.IQL.Features
ReadOnly Property Signature ( Optional FeatureIndex As Integer = -1 ) As Integer Get
'Example 1. Check to see if the AOI is the same as it was at some previous time Dim lAoiSignature As Long lAoiSignature = ThisApplication.ActiveImage.Aoi.Signature Debug.Print "The AOI signature is: " & lAoiSignature '... 'some time later if lAoiSignature = ThisApplication.ActiveImage.Aoi.Signature Then Debug.Print "The AOI is the same as it was." Else Debug.Print "The AOI region(s) and/or coordinates have changed." End If 'Example 2. Check for movement of a single feature With ThisApplication.ActiveImage.PointFeatures 'Create two points .SetFeaturePoints -1, Array(10, 10, 20, 20) Debug.Print "The signatures are: " & .Signature(0), .Signature(1) 'Move the first point only .SetFeaturePoints 0, Array(15, 15) Debug.Print "After 1st point moved: " & .Signature(0), .Signature(1) End With