CogAcqROI GetROIXYWidthHeight Method Cognex VisionPro 9.5
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.Internal
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 69.0.0.0
Syntax

public virtual void GetROIXYWidthHeight(
	out int x,
	out int y,
	out int width,
	out 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 )
Remarks

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 ).

See Also