CompositeShape CompositionMode Property Cognex VisionPro 9.21
Get

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.

Set

Sets CompositionMode.

Namespace: Cognex.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.21.0.0
Syntax

public CompositeShapeCompositionModeConstants CompositionMode { get; set; }

Property Value

Type: CompositeShapeCompositionModeConstants
Default Value: Uniform
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.

Remarks

Changed Raised when the value of this property changes. The following state flag may be affected:

See Also