Gets the ROI. The ROI allows a subset of the pixels defined by the video format to be returned by a call to CompleteAcquire.
Namespace: Cognex.VisionPro.Implementation.InternalAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 80.0.0.0
public virtual void GetROIXYWidthHeight(
out int x,
out int y,
out int width,
out int height
)
public virtual void GetROIXYWidthHeight(
out int x,
out int y,
out int width,
out int height
)
Public Overridable Sub GetROIXYWidthHeight (
<OutAttribute> ByRef x As Integer,
<OutAttribute> ByRef y As Integer,
<OutAttribute> ByRef width As Integer,
<OutAttribute> ByRef height As Integer
)
Public Overridable Sub GetROIXYWidthHeight (
<OutAttribute> ByRef x As Integer,
<OutAttribute> ByRef y As Integer,
<OutAttribute> ByRef width As Integer,
<OutAttribute> ByRef height As Integer
)
public:
virtual void GetROIXYWidthHeight(
[OutAttribute] int% x,
[OutAttribute] int% y,
[OutAttribute] int% width,
[OutAttribute] int% height
)
public:
virtual void GetROIXYWidthHeight(
[OutAttribute] int% x,
[OutAttribute] int% y,
[OutAttribute] int% width,
[OutAttribute] int% height
)
Parameters
- x
- Type: System Int32
The x-coordinate of the start of the ROI.
- y
- Type: System Int32
The y-coordinate of the start of the ROI.
- width
- Type: System Int32
The width of the ROI
- height
- Type: System Int32
The height of the ROI.
Implements
ICogAcqROI GetROIXYWidthHeight(Int32 , Int32 , Int32 , Int32 )Sets the acquisition region of interest (ROI). The ROI allows a subset of the pixels defined by the video format to be returned by CompleteAcquire(Int32, Int32 , Int32 ).