This document is archived and information here might be outdated. Recommended version. |
Highlights the features in the ARFeatureSet.
[Visual Basic .NET] Public Sub Highlight ( _ ByVal bHighlight As Boolean, _ ByVal color As Integer _ )
[C#] public void Highlight ( bool bHighlight, int color );
Highlights all the features in the ARFeatureSet on the display. By deafult the screen is automatically refreshed.
This method acts on an instance of an object. In order to toggle the highlighting of an ARFeatureSet, one must work with the same instance of the object.
The Highlight method triggers the following events:
OnBeforeScreenDraw
OnAfterScreenDraw
'Assuming we have an ARFeatureSet
Dim UIntColor as UInteger
UIntColor=System.Drawing.ColorTranslator.ToWin32(Color.Red)
'Highlight
pARFeatureSet.Highlight(True, UIntColor)
'Clear Highlight
pARFeatureSet.Highlight(False, UIntColor)