CircularArc DisplayMode Property Cognex VisionPro 9.20
Get

Returns the mode in which the arc will be displayed, either with the screen radius (DisplayedRadiusInScreenPixels) or the normal geometric radius (Radius).

Set

Sets DisplayMode.

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

public CircularArcDisplayModeConstants DisplayMode { get; set; }

Property Value

Type: CircularArcDisplayModeConstants
Default Value: Mathematical
Exceptions

ExceptionCondition
ArgumentExceptionValue is not in CircularArcDisplayModeConstants.
Remarks

Gets whether the arc is drawn using the geometric radius or constant screen pixels. When DisplayMode is Mathematical, draw the arc as a geometric shape with the radius Radius. When DisplayMode is Screen, the radius is used DisplayedRadiusInScreenPixels to draw the arc. In this mode, the displayed size of the arc is constant regardless of the zoom level set. The mode affects only the way that the arc is displayed. Changing the mode does not change any of the geometric properties of the arc such as its ArcLength.

Remarks

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

See Also