IAnalysisRegion::IntersectRectangle method

Restricts the area of this IAnalysisRegion to the area created by its intersection with the specified rectangle.

Syntax

HRESULT IntersectRectangle(
  [in] RECT *pIntersectingRectangle
);

Parameters

pIntersectingRectangle [in]

A pointer to the rectangle with which to intersect, in ink-space coordinates.

Return value

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

Remarks

The rectangle coordinates are in HIMETRIC units.

If the two areas do not intersect, the new area is empty.

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::ExcludeRectangle

IAnalysisRegion::ExcludeRegion Method

IAnalysisRegion::IntersectRegion Method

IAnalysisRegion::UnionRectangle Method

IAnalysisRegion::UnionRegion Method

Ink Analysis Reference