Click or drag to resize

IMcRegionAccessROI Property

The region-of-interest exposed as a LONGRECT

Namespace:  MediaCy.IQL.Engine
Assembly:  MediaCy.IQL.Engine (in MediaCy.IQL.Engine.dll) Version: 10.0.6912.0
Syntax
VB
ReadOnly Property ROI As Object
	Get

Property Value

Type: Object
Remarks
This property exposes McRegionAccess region-of-interest in image coordinates as a LONGRECT structure (four Long elements named left, top, right and bottom, in that order). The separate Left, Top, Right and Bottom properties expose the same coordinates unless the SizeRatio proeprty is other than 1:1 (see below). Note that these coordinates are given relative to the left-top of the image frame. If the SizeRatio is other than 1:1 (i.e., the region access is sub-sampled), then the ROI coordinates are those of the original, un-subsampled coordinate space. By contrast, the separate Left, Top, Right and Bottom properties are given in the subsampled coordinate space, as are the Width and Height properties and the coordinates returned by the GetBounds method.
See Also