共用方式為


SizeChanged Event

SizeChanged Event

Occurs after the InkPicture control has been resized, specifically, after the InkPicture::Width or InkPicture::Height property value changes.

Declaration

[C++]

void SizeChanged(
    [in] long Left,
    [in] long Top,
    [in] long Right,
    [in] long Bottom
);

Parameters

Left

[in] The x-coordinate of the left side of the InkPicture control.

Top

[in] The y-coordinate of the top of the InkPicture control.

Right

[in] The x-coordinate of the right side of the InkPicture control.

Bottom

[in] The y-coordinate of the bottom of the InkPicture control.

Remarks

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

Applies To