InkOverlay.EraserWidth property

Gets or sets the value that specifies the width of the eraser pen tip.

This property is read/write.


HRESULT put_EraserWidth(
  [in]          long newEraserWidth

HRESULT get_EraserWidth(
  [out, retval] long *EraserWidth

Property value

A signed 32-bit integer that specifies the width of the eraser pen tip. The default value is 212.

Error codes

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. To retrieve extended error information, call GetLastError.


The value specifies the width of the eraser pen tip in ink space units.

You cannot assign negative values to this property.

This property applies only when the EditingMode property is set to IOEM_Delete and the EraserMode property is set to IOERM_PointErase.


Minimum supported client

Windows XP Tablet PC Edition [desktop apps only]

Minimum supported server

None supported


Msinkaut.h (also requires Msinkaut_i.c)



See also

InkOverlay Class
EditingMode Property [InkOverlay Class]
EraserMode Property [InkOverlay Class]
InkOverlayEditingMode Enumeration
InkOverlayEraserMode Enumeration