Share via


Left Property (Automation Only)

Left Property (Automation Only)

Gets or sets the left position of the InkRectangle object.

Declaration

[C++]

[C++]
[propput] HRESULT put_Left ([in] long Units);
[propget] HRESULT get_Left ([out, retval] long* Units);

[Microsoft® Visual Basic® 6.0]

[Visual Basic]
Public Property Get Left() As Long
Public Property Let Left(ByVal theLeft As Long)

Property Value

long The left position of the InkRectangle 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.

Example

[Visual Basic 6.0]

This Visual Basic 6.0 example set the Left property of an InkRectangle object to 10.

[Visual Basic]
Dim theInkRectangle As New InkRectangle
theInkRectangle.Left = 10

Applies To