[]
        
(Showing Draft Content)

GC.Spread.Sheets.Outlines.OutlineInfo

Class: OutlineInfo

Sheets.Outlines.OutlineInfo

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new OutlineInfo(model, start, end, level)

Represents the outline (range group) information.

Parameters

Name Type Description
model Outline The owner of the outline.
start number The start index of the outline.
end number The end index of the outline.
level number The level of the outline.

Properties

children

children: any[]

The children of the group.


end

end: number

The end index of the group.


level

level: number

The level of the group.


model

model: Outline

The owner of the group.


parent

parent: OutlineInfo

The parent of the group.


start

start: number

The start index of the group.

Methods

addChild

addChild(child): void

Adds the child.

Parameters

Name Type Description
child Object The child.

Returns

void


contains

contains(index): boolean

Compares this instance to a specified OutlineInfo object and returns an indication of their relative values.

Parameters

Name Type Description
index number The index of the group item.

Returns

boolean

true if the range group contains the specified index; otherwise, false.


state

state(value?): OutlineState

Gets or sets the state of this outline (range group).

Parameters

Name Type
value? OutlineState

Returns

OutlineState

The state of this outline (range group).