[]
Represents a range of OutlineLevel enum values.
public class OutlineLevelRange
Gets the range start outline level.
public OutlineLevel From { get; }
Gets a value indicating whether the range does not have any outline levels.
public bool IsEmpty { get; }
public bool IsMax { get; }
Gets the range end outline level.
public OutlineLevel To { get; }
Makes the range empty.
public void Empty()
Gets whether the given outline level is in the range.
public bool InRange(OutlineLevel level)
level
OutlineLevelThe outline level to check.
public void Max()
Sets the level range.
public void Set(OutlineLevel from, OutlineLevel to)
from
OutlineLevelThe range start outline level.
to
OutlineLevelThe range end outline level.
Thrown if trying to set BodyText.
Thrown if trying to set from
less than to
.
Gets the array of OutlineLevel values defined in the range.
public OutlineLevel[] ToArray()
The array of OutlineLevel values defined in the range.
public override string ToString()