Share via


ViewRelativePosition Enumeration

Defines the meaning of the verticalOffset parameter in the DisplayTextLineContainingBufferPosition method and the relativeTo parameter in the DisplayTextLineContainingBufferPosition method.

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

Syntax

'Declaration
Public Enumeration ViewRelativePosition
public enum ViewRelativePosition
public enum class ViewRelativePosition
type ViewRelativePosition
public enum ViewRelativePosition

Members

Member name Description
Bottom The offset with respect to the bottom of the view.
Top The offset with respect to the top of the view.

See Also

Reference

Microsoft.VisualStudio.Text.Editor Namespace