CogCoreConverters MakeCogMaskGraphic Method Cognex VisionPro 9.20
Create a Deep Copy of the provided MaskGraphic Vision object in the form of a CogMaskGraphic VisionPro object, maintaining most but not all property equivalence. Image, TipText, X and Y offset, and SelectedSpaceName are preserved, but most graphical properties such as Color are not.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.VisionInterop (in Cognex.VisionPro.VisionInterop.dll) Version: 80.0.0.0
Syntax

public static CogMaskGraphic MakeCogMaskGraphic(
	MaskGraphic mask
)

Return Value

Type: CogMaskGraphic
A VisionPro CogMaskGraphic that has the equivalent Image, TipText, X and Y offset, and SelectedSpaceName as the provided Vision MaskGraphic.
Remarks

Providing an argument that is null will result in a return that is null as well. In other words, a null converts to a null.

See Also