Condividi tramite


IScrollMap.ThumbSize Property

Gets the size of the text visible in the view (in scrollmap coordinates).

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

Syntax

'Declaration
ReadOnly Property ThumbSize As Double
double ThumbSize { get; }
property double ThumbSize {
    double get ();
}
abstract ThumbSize : float with get
function get ThumbSize () : double

Property Value

Type: Double
The size of the text visible in the view.

Remarks

This is equivalent to the scrollbar thumb size. The total height of the scroll map, in scrollmap coordinates, is CoordinateOfBufferEnd + ThumbSize.

.NET Framework Security

See Also

Reference

IScrollMap Interface

Microsoft.VisualStudio.Text.Editor Namespace