Freigeben über


EraserWidth Property

EraserWidth Property

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

Declaration

[C++]

[propput] HRESULT put_EraserWidth ([in] long EraserWidth);
[propget] HRESULT get_EraserWidth ([out, retval] long* EraserWidth);

[Microsoft® Visual Basic® 6.0]

Public Property Get EraserWidth() As Long
Public Property Let EraserWidth(ByVal theWidth As Long)

Property Value

long Returns or sets a signed 32-bit integer that specifies the width of the eraser pen tip.

This property is read/write.

Return Value

This property returns a signed 32-bit integer that specifies the width of the eraser pen tip.

The default value is 212.

Remarks

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.

Example

[Visual Basic 6.0]

This Visual Basic 6.0 example creates an InkOverlay object and sets the EraserWidth property to 10.

Dim theInkOverLay As New InkOverlay
theInkOverLay.EraserWidth = 10

Applies To