InkPicture.EraserMode property
Gets or sets a value that specifies whether ink is erased by stroke or by point.
This property is read/write.
Syntax
HRESULT put_EraserMode(
[in] InkOverlayEraserMode EraserMode
);
HRESULT get_EraserMode(
[out, retval] InkOverlayEraserMode *EraserMode
);
Property value
A value that specifies how ink is erased from the control.
The default value is IOERM_StrokeErase, which specifies that ink is erased by stroke.
Error codes
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. To retrieve extended error information, call GetLastError.
Remarks
This property applies only when the EditingMode property is set to Delete.
For further details about this property, refer to the InkOverlay object's EraserMode property, which has the same functionality.
Requirements
|
Minimum supported client |
Windows XP Tablet PC Edition [desktop apps only] |
|---|---|
|
Minimum supported server |
None supported |
|
Header |
|
|
Library |
|
See also