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)

property double MarginSize {
	double get();
}

Property Value

Type: System::Double

The size of the margin.

Exception Condition
ObjectDisposedException

The margin is disposed.

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.

Return to top
Show: