Поделиться через


InkPicture.EraserWidth - свойство

Обновлен: Ноябрь 2007

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

Пространство имен:  Microsoft.Ink
Сборка:  Microsoft.Ink (в Microsoft.Ink.dll)

Синтаксис

'Декларация
<BrowsableAttribute(True)> _
Public Property EraserWidth As Integer
'Применение
Dim instance As InkPicture
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);
}
/** @property */
/** @attribute BrowsableAttribute(true) */
public int get_EraserWidth()
/** @property */
/** @attribute BrowsableAttribute(true) */
public  void set_EraserWidth(int value)
public function get EraserWidth () : int
public function set EraserWidth (value : int)

Значение свойства

Тип: System.Int32
A value that specifies the width of the eraser pen tip.

Заметки

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.

Примеры

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

[C#]

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

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

[Visual Basic]

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

Платформы

Windows Vista

Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.

Сведения о версии

.NET Framework

Поддерживается в версии: 3.0

См. также

Ссылки

InkPicture Класс

InkPicture - члены

Microsoft.Ink - пространство имен

InkPicture.EraserMode

InkPicture.EditingMode

InkOverlayEraserMode

InkOverlayEditingMode