CogCoreConverters MakeGraphicLabel Method Cognex VisionPro 9.20
Create a Deep Copy of the provided CogGraphicLabel VisionPro object in the form of a GraphicLabel Vision 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: 80.0.0.0
Syntax

public static GraphicLabel MakeGraphicLabel(
	CogGraphicLabel label
)

Parameters

label
Type: Cognex.VisionPro CogGraphicLabel
The VisionPro CogGraphicLabel to be copied from.

Return Value

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