Polygon VertexReserve Method Cognex VisionPro 9.22

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.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.22.2.0
Syntax

public void VertexReserve(
	int minNumVertices
)
Exceptions

ExceptionCondition
ArgumentExceptionminNumVertices < 0.
Remarks

Changed Raised when the value of this property changes.

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