CogBlobResult GetMeasure Method Cognex VisionPro
Returns the value of the blob CogBlobMeasureConstants requested.

Namespace: Cognex.VisionPro.Blob
Assembly: Cognex.VisionPro.Blob (in Cognex.VisionPro.Blob.dll) Version: 65.1.0.0
Syntax

public double GetMeasure(
	CogBlobMeasureConstants measure
)

Return Value

Type: Double
Exceptions

ExceptionCondition
ArgumentExceptionmeasure is not a member of CogBlobMeasureConstants.
CogBlobInvalidMeasureException The connectivity mode is WholeImageGreyScale and measure is one of the following: BoundaryPixelLength, Acircularity, AcircularityRms, or Perimeter.
InvalidOperationException If no result data is available.
See Also