CogDisplay ScalingMethod Property Cognex VisionPro 9.10
Gets or sets the scaling method the display control uses when zooming.

Namespace: Cognex.VisionPro.Display
Assembly: Cognex.VisionPro.Display.Controls (in Cognex.VisionPro.Display.Controls.dll) Version: 79.0.0.0 (79.0.0.0)
Syntax

public virtual CogDisplayScalingMethodConstants ScalingMethod { get; set; }

Property Value

Type: CogDisplayScalingMethodConstants
The scaling method.
Events

Exceptions

ExceptionCondition
AxHost InvalidActiveXStateException Thrown when the display control is invalid.
Remarks

Images can be scaled by integer factors or by floating point factors. Integer factors are often faster.

See Also