SectionTitles
public struct SectionTitles : Codable, Equatable
An array containing one object per section or subsection detected in the input document. Sections and subsections are
not nested; instead, they are flattened out and can be placed back in order by using the begin and end values of
the element and the level value of the section.
-
The text of the section title, if identified.
Declaration
Swift
public var text: String? -
The numeric location of the identified element in the document, represented with two integers labeled
beginandend.Declaration
Swift
public var location: Location? -
An integer indicating the level at which the section is located in the input document. For example,
1represents a top-level section,2represents a subsection within the level1section, and so forth.Declaration
Swift
public var level: Int? -
An array of
locationobjects that lists the locations of detected section titles.Declaration
Swift
public var elementLocations: [ElementLocations]?
View on GitHub
SectionTitles Structure Reference