CogCompositeShape CompositionMode Property Cognex VisionPro 9.7
Controls how this shape composes itself from its sub-shapes. Uniform mode propagates all composite graphic properties to sub shapes, making them act as if they were all one graphic. Freeform mode does not.

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

public CogCompositeShapeCompositionModeConstants CompositionMode { get; set; }

Property Value

Type: CogCompositeShapeCompositionModeConstants
Events

Event TypeReason
CogCompositeShape Changed

Fires when the composition mode changes.

The following state flag may be affected:

    Exceptions

    Remarks

    Controls how this shape composes itself from its child shapes. Uniform propagates all of the composite shape's graphic properties to the child shapes so that they behave as if they were a single graphic. Freeform allows each shape in the composite shape to be manipulated according to its own graphic properties.

    The SelectedSpaceName and GraphicDOFEnableBase properties are never propagated from the composite shape to the child shapes.

    Default Value: Uniform

    See Also