InkPicture.Resize event

Occurs when the InkPicture control is resized (when the Width and/or Height property values change).

Syntax

void Resize(
   long Left,
   long Top,
   long Right,
   long Bottom
);

Parameters

Left

The number of pixels from the left side of the window that contains the control to the left side of the control.

Top

The number of pixels from the top of the window that contains the control to the top of the control.

Right

The number of pixels from the left side of the window that contains the control to the right side of the control.

Bottom

The number of pixels from the top of the window that contains the control to the bottom of the control.

Return value

This event does not return a value.

Remarks

The new width of the control in pixels will be equal to the difference between the Right and Left parameters. Likewise, the new height will be equal to the difference between Bottom and Top.

This event method is defined in the _IInkPictureEvents interface. The _IInkPictureEvents interface implements the IDispatch interface with an identifier of DISPID_IPEResize.

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

See also

InkPicture