Condividi tramite


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

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

Members

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

See Also

Reference

Microsoft.VisualStudio.Text.Editor Namespace