Sets x and y coordinates of the center point, rotation (in radian) and the size (in screen pixels) of a side of the bounding square of the point marker. Size must be greater than zero.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 65.1.0.0
Syntax
Parameters
- x
- Type: System Double
The x-coordinate of the center of the point marker.
- y
- Type: System Double
The y-coordinate of the center of the point marker.
- rotation
- Type: System Double
The rotation angle (in radians) of the point marker.
- sizeInScreenPixels
- Type: System Int32
The size (in pixels) of the bounding box of the point marker.
Events
| Event Type | Reason |
|---|---|
| CogPointMarker Changed | Fires when the value of this property changes. The following state flags may be affected: |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | sizeInScreenPixels is <= 0. |
Remarks
Sets x- and y-coordinates of the center point, rotation (in radians) and the size (in screen pixels) of a side of the bounding square of the point marker.
See Also