Class
OdtSection
OfficeIMO.OpenDocument
An XML-backed named ODT section.
Inheritance
- object
- OdtSection
Usage
Explore 2 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 2
- Method OdtDocument.AddSection
- Property OdtDocument.Sections
Methods
public OdtParagraph AddHeading(string text, int level = 1) #Adds a heading to the section.
Parameters
- text string
- level int = 1
Returns
OdtParagraphpublic OdtParagraph AddParagraph(string? text = null) #Adds a paragraph to the section.
Parameters
- text string? = null
Returns
OdtParagraphInherited Methods
Properties
public IReadOnlyList<OdtParagraph> Paragraphs { get; } #Paragraphs directly contained by the section.