API Reference
Class
OdtSection
An XML-backed named ODT section.
Inheritance
- Object
- OdtSection
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method OdtDocument.AddSection
- Property OdtDocument.Sections
Methods
public OdtParagraph AddHeading(String text, Int32 level = 1) #Returns:
OdtParagraphAdds a heading to the section.
Parameters
- text System.String
- level System.Int32 = 1
public OdtParagraph AddParagraph(String text = null) #Returns:
OdtParagraphAdds a paragraph to the section.
Parameters
- text System.String = null
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public IReadOnlyList<OdtParagraph> Paragraphs { get; } #Paragraphs directly contained by the section.