Back to Devexpress

SectionCollection Class

aspnetcore-js-devexpress-dot-richedit-572fba8b.md

latest1.6 KB
Original Source

SectionCollection Class

A collection of the Section objects.

Declaration

ts
export class SectionCollection extends Collection<Section>

Inherited Members

count

getByIndex(index)

Inheritance

Collection<T> SectionCollection

Methods

create(sectionBreakPosition, type) Method

Creates a new Section object with the specified settings and adds it to the collection.

Declaration

ts
create(
    sectionBreakPosition: number,
    type: SectionBreakType
): Section

Parameters

NameTypeDescription
sectionBreakPositionnumber

The position of a section break.

| | type | SectionBreakType |

The type of a section break.

|

Returns

TypeDescription
Section

The newly created section.

|

find(position) Method

Returns a section that contains the specified position.

Declaration

ts
find(
    position: number
): Section

Parameters

NameTypeDescription
positionnumber

A position in a main sub-document.

|

Returns

TypeDescription
Section

A section object.

|