EraserMode Property

EraserMode Property

Returns or sets the value that specifies whether ink is erased by stroke or by point.

Declaration

[C++]

[propput] HRESULT put_EraserMode ([in] InkOverlayEraserMode EraserMode);
[propget] HRESULT get_EraserMode ([out, retval] InkOverlayEraserMode*
    EraserMode);

[Microsoft® Visual Basic® 6.0]

Public Property Get EraserMode() As InkOverlayEraserMode
Public Property Let EraserMode( _
    ByVal theEraserMode As InkOverlayEraserMode)

Property Value

InkOverlayEraserMode Returns or sets a value that specifies how ink is erased from the control.

This property is read/write.

Return Value

This property returns a value from the InkOverlayEraserMode enumeration type, which specifies how ink is erased from the control.

The default value is IOERM_StrokeErase, which specifies that ink is erased by stroke.

Remarks

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

Example

[Visual Basic 6.0]

This Visual Basic 6.0 example creates an InkOverlay object and sets the EraserMode property to IOERM_StrokeErase.

Dim theInkOverLay As New InkOverlay
theInkOverLay.EraserMode = IOERM_StrokeErase

Applies To