Share via


InkOverlay.EraserWidth Property

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

Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in microsoft.ink.dll)

Syntax

'Declaration
Public Property EraserWidth As Integer
'Usage
Dim instance As InkOverlay
Dim value As Integer

value = instance.EraserWidth

instance.EraserWidth = value
public int EraserWidth { get; set; }
public:
property int EraserWidth {
    int get ();
    void set (int value);
}
/** @property */
public int get_EraserWidth ()

/** @property */
public void set_EraserWidth (int value)
public function get EraserWidth () : int

public function set EraserWidth (value : int)
Not applicable.

Property Value

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

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.

Example

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

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

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

Platforms

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

InkOverlay Class
InkOverlay Members
Microsoft.Ink Namespace
InkOverlay.EraserMode
InkOverlay.EditingMode
InkOverlayEraserMode
InkOverlayEditingMode