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
<BrowsableAttribute(True)> _
Public Property EraserWidth As Integer
'Usage
Dim instance As InkOverlay
Dim value As Integer
value = instance.EraserWidth
instance.EraserWidth = value
[BrowsableAttribute(true)]
public int EraserWidth { get; set; }
[BrowsableAttribute(true)]
public:
property int EraserWidth {
int get ();
void set (int value);
}
public function get EraserWidth () : int
public function set EraserWidth (value : int)
Property Value
Type: System.Int32
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.
Examples
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 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 3.0