CogVertexRemovedEventArgs Constructor Cognex VisionPro 9.5
Construct the CogVertexRemovedEventArgs object with the supplied index and new number of vertices. When the VertexRemoved event has been caused by calling NumVertices() with an argument less than the existing number of vertices, the index will be -1 (i.e. removed from the end of the list of vertices).

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 69.0.0.0
Syntax

public CogVertexRemovedEventArgs(
	int index,
	int newNumVertices
)

Parameters

index
Type: System Int32
The index of the removed vertex. -1 means that vertices were removed at the end until the number of vertices equaled newNumVertices.
newNumVertices
Type: System Int32
The new number of vertices in the CogPolygon.
See Also