InkOverlay.EraserWidth Property

InkOverlay.EraserWidth Property

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

Definition

Visual Basic .NET Public Property EraserWidth As Integer
C# public int EraserWidth { get; set; }
Managed C++ public: __property int* get_EraserWidth();
public: __property void set_EraserWidth(int*);

Property Value

System.Int32. A value that specifies the width of the eraser pen tip.

This property is read/write. This property has no default value.

Exceptions

COMException Leave Site:
ObjectDisposedException Leave Site:

Remarks

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

You cannot assign negative values to this property.

The default value is 212.

Examples

[C#]

This C# example creates an InkOverlay object, theInkOverlay, and sets the EraserWidth property to 10.

InkOverlay theInkOverlay = new InkOverlay();
theInkOverlay.EraserWidth = 10;
            

[VB.NET]

This Microsoft® Visual Basic® .NET example creates an InkOverlay object, theInkOverlay, and sets the EraserWidth property to 10.

Dim theInkOverlay As New InkOverlay()
theInkOverlay.EraserWidth = 10
        

See Also