다음을 통해 공유


ITextViewMargin.MarginSize Property

Gets the size of the margin.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

‘선언
ReadOnly Property MarginSize As Double
double MarginSize { get; }
property double MarginSize {
    double get ();
}
abstract MarginSize : float
function get MarginSize () : double

Property Value

Type: System.Double
The size of the margin.

Exceptions

Exception Condition
ObjectDisposedException

The margin is disposed.

Remarks

For a horizontal margin this is the height of the margin, since the width will be determined by the ITextView.

For a vertical margin this is the width of the margin, since the height will be determined by the ITextView.

.NET Framework Security

See Also

Reference

ITextViewMargin Interface

Microsoft.VisualStudio.Text.Editor Namespace