CogCompositeShape Shapes Property Cognex VisionPro 9.5
Child shapes that make up this composite shape.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 69.0.0.0
Syntax

public CogGraphicChildren Shapes { get; }

Property Value

Type: CogGraphicChildren
Events

Event TypeReason
CogCompositeShape Changed

Fires when the shapes collection changes.

The following state flag may be affected:

    Remarks

    The collection of child shapes that make up this composite shape.

    The child shapes are specified in the parent graphic's coordinate space and must have a SelectedSpaceName of $. You can set the children's coordinate space with ParentFromChildTransform.

    Note: This collection contains only the shapes that you add. It does not contain, for instance, handle shapes that appear in the Children collection.

    Default Value: Empty

    See Also