InkOverlay.DefaultMargin - поле
Обновлен: Ноябрь 2007
Returns the default margin used by the MarginX and MarginY properties.
Пространство имен: Microsoft.Ink
Сборка: Microsoft.Ink (в Microsoft.Ink.dll)
Синтаксис
'Декларация
Public ReadOnly DefaultMargin As Integer
'Применение
Dim instance As InkOverlay
Dim value As Integer
value = instance.DefaultMargin
public readonly int DefaultMargin
public:
initonly int DefaultMargin
public final int DefaultMargin
public final var DefaultMargin : int
Значение поля
Тип: System.Int32
A signed 32-bit integer that specifies the default margin that the MarginX and MarginY properties use.
Заметки
If you want to restore the default margins, assign DefaultMargin to the MarginX and MarginY properties.
Примеры
This C# example restores the default margins to an InkOverlay named theInkOverlay.
theInkOverlay.MarginX = theInkOverlay.DefaultMargin;
theInkOverlay.MarginY = theInkOverlay.DefaultMargin;
This Microsoft Visual Basic .NET example restores the default margins to an InkOverlay named theInkOverlay.
theInkOverlay.MarginX = theInkOverlay.DefaultMargin
theInkOverlay.MarginY = theInkOverlay.DefaultMargin
Платформы
Windows Vista
Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.
Сведения о версии
.NET Framework
Поддерживается в версии: 3.0