Compartir a través de


InkOverlay.DefaultMargin Field

InkOverlay.DefaultMargin Field

Returns the default margin used by the MarginX and MarginY properties.

Definition

Visual Basic .NET Public DefaultMargin As Int32
C# public Int32 DefaultMargin;
Managed C++ public: Int32 DefaultMargin;

Field Value

System.Int32. A signed 32-bit integer that specifies the default margin that the MarginX and MarginY properties use.

This field is read-only. This field has no default value.

Remarks

If you want to restore the default margins, assign DefaultMargin to the MarginX and MarginY properties.

Examples

[C#]

This C# example restores the default margins to an InkOverlay named theInkOverlay.

theInkOverlay.MarginX = theInkOverlay.DefaultMargin;
theInkOverlay.MarginY = theInkOverlay.DefaultMargin;

[Visual Basic .NET]

This Microsoft® Visual Basic® .NET example restores the default margins to an InkOverlay named theInkOverlay.

theInkOverlay.MarginX = theInkOverlay.DefaultMargin
theInkOverlay.MarginY = theInkOverlay.DefaultMargin

See Also