[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.Fields.OutlineLevelRange.Set

Set Method

Set(OutlineLevel, OutlineLevel)

Sets the level range.

Declaration
public void Set(OutlineLevel from, OutlineLevel to)
Public Sub [Set](from As OutlineLevel, [to] As OutlineLevel)
Parameters
Type Name Description
OutlineLevel from

The range start outline level.

OutlineLevel to

The range end outline level.

Exceptions
Type Condition
ArgumentOutOfRangeException

Thrown if trying to set BodyText.

ArgumentOutOfRangeException

Thrown if trying to set from less than to.