CogBlobResult CreateResultGraphics Method Cognex VisionPro 9.5
Creates a composite result graphic containing child graphics specified by the GraphicOptions which is a bitwise combination of CogBlobResultGraphicConstants.

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

public CogCompositeShape CreateResultGraphics(
	CogBlobResultGraphicConstants graphicOptions
)

Return Value

Type: CogCompositeShape
The returned graphics: a CogCompositeShape
Exceptions

ExceptionCondition
InvalidOperationException If no result data is available.
Remarks

Creates a CogCompositeShape result graphic containing child graphics specified by graphicOptions, a bitwise combination of values defined in CogBlobResultGraphicConstants.

The ID property of the returned graphic is set to the ID of this blob.

The returned graphic and it's children have their Interactive property set to True.

The graphic's color is set to green for members of the filtered results, red for blobs that were filtered out.

See Also