CogCoreConverters MakeCogGraphicLabel Method Cognex VisionPro 9.10
Create a Deep Copy of the provided GraphicLabel Vision object in the form of a CogGraphicLabel VisionPro object, maintaining most but not all property equivalence. Text, TipText, X and Y position, Rotation, Offset properties, 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 CogGraphicLabel MakeCogGraphicLabel(
	GraphicLabel label
)

Return Value

Type: CogGraphicLabel
A VisionPro CogGraphicLabel that has the equivalent Text, TipText, X and Y position, Rotation, Offset properties, and SelectedSpaceName as the provided Vision GraphicLabel.
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