Partager via


IInkRectangle::Top

4/8/2010

Gets or sets the top position of the IInkRectangle object.

Syntax

[propput] HRESULT put_Top([in] long Units);
[propget] HRESULT get_Top([out, retval] long *Units);

Parameters

  • Units
    The top position of the IInkRectangle object.

    This property is read/write.

Return Value

HRESULT value Description

S_OK

Success.

E_POINTER

The parameter pointer was invalid.

E_INK_EXCEPTION

An exception occurred inside the method.

Remarks

The default value of this property is 0.

Requirements

Header msinkaut.h
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile 6 Classic and later, Windows Mobile 6 Professional and later

See Also

Concepts

Windows Mobile Ink Reference