Share via


Enabled Property

Enabled Property

Gets or sets a value that determines whether the InkPicture control can respond to user-generated events.

Declaration

[C++]

[propput] HRESULT put_Enabled ([in] VARIANT_BOOL Enabled);
[propget] HRESULT get_Enabled ([out, retval] VARIANT_BOOL* Enabled);

Property Value

VARIANT_BOOL The Boolean value that specifies whether the InkPicture control can respond to user-generated events.

Value Description
TRUE Default. The InkPicture control can respond to user-generated events.
FALSE The InkPicture control does not respond to user-generated events.

This property is read/write.

Return Value

HRESULT value Description
S_OK Success.
E_POINTER The Enabled parameter is an invalid pointer.

Remarks

Note: This property is not the same as the Enabled property for the InkOverlay and InkCollector objects. This property is equivalent to the InkPicture::InkEnabled property.

Applies To