IAnalysisRegion::GetBounds method

Gets the bounding rectangle of the IAnalysisRegion.

Syntax

HRESULT GetBounds(
  [out] RECT *pBoundingRectangle
);

Parameters

pBoundingRectangle [out]

The bounding rectangle of the IAnalysisRegion in ink space coordinates.

Return value

For a description of the return values, see Classes and Interfaces - Ink Analysis.

Remarks

The bounds are in ink-space coordinates.

If the IAnalysisRegion represents an infinite area, the left and top bounds are INT_MIN; and the right and bottom bounds are INT_MAX.

If the IAnalysisRegion represents an empty area, all the bounds of the rectangle are 0.

Requirements

Requirement Value
Minimum supported client
Windows XP Tablet PC Edition [desktop apps only]
Minimum supported server
None supported
Header
IACom.h (also requires IACom_i.c)
DLL
IACom.dll

See also

IAnalysisRegion

IAnalysisRegion::GetRegionScans Method

Ink Analysis Reference