InkRectangle class

Represents access to a rectangle.

InkRectangle has these types of members:

Interfaces

The InkRectangle class defines these interfaces.

Interface Description
IInkRectangle This object implements the IInkRectangle COM interface.

Methods

The InkRectangle class has these methods.

Method Description
GetRectangle Retrieves the elements of the InkRectangle object in a single call.
SetRectangle Modifies the elements of the InkRectangle object in a single call.

Properties

The InkRectangle class has these properties.

Property Access type Description
Bottom
Read/write
Gets or sets the bottom position of the rectangle.
Data
Read/write
Gets or sets access to the rectangle struct (C++ only).
Left
Read/write
Gets or sets the left position of the rectangle.
Right
Read/write
Gets or sets the right position of the rectangle.
Top
Read/write
Gets or sets the top position of the rectangle.

Remarks

Note

A point is within an InkRectangle if it lies on the Left or Top side or is within all four sides. A point on the Right or Bottom side is considered outside the rectangle.

This object can be instantiated by calling the CoCreateInstance method.

Note

An InkRectangle cannot be used if it is larger than LONG_MAX (2^31 - 1) in either dimension.

Requirements

Requirement Value
Minimum supported client
Windows XP Tablet PC Edition [desktop apps only]
Minimum supported server
None supported
Header
Msinkaut.h (also requires Msinkaut_i.c)
Library
InkObj.dll