IE_GETINKRECT

Retrieves the bounding rectangle of the ink.

Parameters

wParam

Not used; must be 0.

lParam

Address of a RECTEZENA2 structure.

Return Value

Returns IER_OK if successful; otherwise, returns IER_PARAMERR to indicate that wParam or lParam is invalid.

Comments

The RECTEZENA2 structure is filled with the bounding rectangle of the current ink in the control. The rectangle is in the same coordinates as the scaling mode the HPENDATA object is in.