If the supplied value is less than or equal to the current VertexCapacity, there will be no change. Otherwise, ensure that VertexCapacity is greater than or equal to the supplied value.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 65.1.0.0
Syntax
Parameters
- minNumVertices
- Type: System Int32
Events
| Event Type | Reason |
|---|---|
| CogPolygon Changed | Fires when the vertex capacity changes. The following state flag may be affected: |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | minNumVertices < 0. |
Remarks
Ensures a reserve for a specified number of vertices. If minNumVertices is less than or equal to VertexCapacity there is no change. Otherwise, VertexCapacity is greater than or equal to minNumVertices.
See Also