InkRectangle Class (Automation Only)

InkRectangle Class (Automation Only)

Represents access to a rectangle.

Members

Method Description
GetRectangle Retrieves the elements of the InkRectangle object in a single call.
SetRectangle Sets the elements of the InkRectangle object in a single call.
Property Description
Bottom Gets or sets the bottom position of the rectangle.
Data Gets or sets access to the rectangle struct (C++ only).
Left Gets or sets the left position of the rectangle.
Right Gets or sets the right position of the rectangle.
Top 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 in C++ or by using the New keyword in Microsoft® Visual Basic® 6.0.

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

COM Implementation

This object implements the IInkRectangle COM interface.