CogCoreConverters MakeMaskGraphic Method Cognex VisionPro 9.10
Create a Deep Copy of the provided CogMaskGraphic VisionPro object in the form of a MaskGraphic Vision 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: 79.0.0.0
Syntax

public static MaskGraphic MakeMaskGraphic(
	CogMaskGraphic mask
)

Return Value

Type: MaskGraphic
A Vision MaskGraphic that has the equivalent Image, TipText, X and Y offset, and SelectedSpaceName as the provided VisionPro CogMaskGraphic.
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