CogOCVMaxParagraphResult CreateResultGraphics Method Cognex VisionPro 9.22
Create a CogCompositeShape containing the requested result graphics for this paragraph result object.

Namespace: Cognex.VisionPro.OCVMax
Assembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 87.0.0.0
Syntax

public CogCompositeShape CreateResultGraphics(
	CogOCVMaxParagraphResultGraphicConstants graphicOptions
)

Parameters

graphicOptions
Type: Cognex.VisionPro.OCVMax CogOCVMaxParagraphResultGraphicConstants
A bitwise OR of CogOCVMaxParagraphResultGraphicConstants. Options include: ParagraphBounds, CharactersBounds, CharactersLabel, and TipText. ParagraphBounds will render a paragraph pose aligned bounding box around this paragraph. CharactersBounds will render character pose aligned bounding boxes around each character. Both the ParagraphBounds and the CharactersBounds graphics are color coded: green for verified, yellow for confused, red for failed. CharactersLabel will render a graphic version of each character slightly below each found character. TipText causes mouse-activated tip text to be available for any requested graphics.

Return Value

Type: CogCompositeShape
A CogCompositeShape containing the requested graphics.
Exceptions

ExceptionCondition
InvalidOperationExceptionIf the internal shared result field is NULL.
See Also