InkRectangle Class (Automation Only)

InkRectangle Class (Automation Only)

Represents access to a rectangle.

Members

MethodDescription
GetRectangleRetrieves the elements of the InkRectangle object in a single call.
SetRectangleSets the elements of the InkRectangle object in a single call.

PropertyDescription
BottomGets or sets the bottom position of the rectangle.
DataGets or sets access to the rectangle struct (C++ only).
LeftGets or sets the left position of the rectangle.
RightGets or sets the right position of the rectangle.
TopGets 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.

Show: