Udostępnij za pośrednictwem


EnsureRangeVisibleOptions Enum

Definition

Options to control scrolling behavior of the document view when navigating to a Range.

This enumeration supports a bitwise combination of its member values.

public enum class EnsureRangeVisibleOptions
[System.Flags]
public enum EnsureRangeVisibleOptions
[<System.Flags>]
type EnsureRangeVisibleOptions = 
Public Enum EnsureRangeVisibleOptions
Inheritance
EnsureRangeVisibleOptions
Attributes

Fields

Name Value Description
None 0

Ensure that the end of the range is visible if it is impossible to display the entire span. If none of the text in the range is currently visible, center the span in the view.

ShowStart 1

Ensure that the start of the range is visible if it is impossible to display the entire range.

MinimumScroll 2

Do the minimum amount of scrolling to display the range in the view.

AlwaysCenter 4

Always center the range in the view.

Applies to