Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OdtSection

OfficeIMO.OpenDocument

Namespace
OfficeIMO.OpenDocument
Assembly
OfficeIMO.OpenDocument
Source revision
be6c300e4ab1 with working tree changes
Modifiers
sealed

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

Methods

public OdtParagraph AddHeading(string text, int level = 1) #

Adds a heading to the section.

Parameters

text string required
level int = 1 optional
public OdtParagraph AddParagraph(string? text = null) #

Adds a paragraph to the section.

Parameters

text string? = null optional

Properties

public string Name { get; set; } #

Section name.

public IReadOnlyList<OdtParagraph> Paragraphs { get; } #

Paragraphs directly contained by the section.