Sdílet prostřednictvím


InkPicture.EraserWidth Property

InkPicture.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 InkPicture object, theInkPicture, and sets the EraserWidth property to 10.

InkPicture theInkPicture = new InkPicture();
theInkPicture.EraserWidth = 10;

[VB.NET]

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

Dim theInkPicture As New InkPicture()
theInkPicture.EraserWidth = 10

See Also