# OneNoteParagraph

A rich-text paragraph and its nested outline elements.

Class 

`OfficeIMO.OneNote`

**Namespace**

`OfficeIMO.OneNote`

**Assembly**

`OfficeIMO.OneNote`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[OneNoteContent.cs:121](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteContent.cs#L121)

**Base**

`OneNoteElement`

**Modifiers**

sealed

A rich-text paragraph and its nested outline elements.

## Inheritance

- [OneNoteElement](/api/onenote/officeimo-onenote-onenoteelement/)
- OneNoteParagraph

## Guides & Samples

Authored walkthroughs and practical samples linked to this API.

- [Read and Write OneNote Notebooks](/docs/onenote/notebooks/) Guide
  
  Open OneNote notebooks from a folder, a .onetoc2 file or a .onepkg export, walk section groups and sections, and write notebooks offline.
- [Read and Edit OneNote Files](/docs/onenote/) Guide
  
  Open OneNote .one section files offline in .NET, list pages and their text, add notes, lists and tags, and create new sections without OneNote, Graph or COM.
- [OfficeIMO.OneNote](/products/onenote/) Guide
  
  Read, create, edit, and write native OneNote sections, notebooks, tables of contents, and packages offline. Compare packages, examples, and limits.
- [Read and Convert OneNote Files Offline in .NET](/solutions/offline-onenote-automation/) Guide
  
  Read native OneNote .one, .onetoc2, and .onepkg files offline in .NET, then export pages to images, HTML, Markdown, PDF, or search chunks.

Filter members 

Show inherited

## Constructors

`public OneNoteParagraph()` [#](#constructor-ctor)

[OneNoteContent.cs:121](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteContent.cs#L121)

## Methods

`public OneNoteTextRun AddMath(OfficeMathExpression expression)` [#](#method-addmath-officeimo-drawing-officemathexpression)

[OneNoteContent.cs:125](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteContent.cs#L125)

Appends a structured inline mathematical expression.

Parameters

**expression OfficeIMO.Drawing.OfficeMathExpression required**

Returns

`OneNoteTextRun`

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public override OneNoteElementKind Kind { get; }` [#](#property-kind)

[OneNoteContent.cs:118](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteContent.cs#L118)

Logical content kind.

`public IList<OneNoteTextRun> Runs { get; }` [#](#property-runs)

[OneNoteContent.cs:121](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteContent.cs#L121)

Formatted text runs in source order.

`public OneNoteListInfo? List { get; set; }` [#](#property-list)

[OneNoteContent.cs:131](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteContent.cs#L131)

Optional list marker metadata.

`public OneNoteParagraphStyle Style { get; }` [#](#property-style)

[OneNoteContent.cs:134](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteContent.cs#L134)

Paragraph formatting.

`public IList<OneNoteElement> Children { get; }` [#](#property-children)

[OneNoteContent.cs:137](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteContent.cs#L137)

Nested outline elements under this paragraph.

## Inherited Properties

`public OneNoteExtendedGuid? Id { get; set; }` [#](#property-id)

[OneNoteContent.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteContent.cs#L32)

Inherited from [OneNoteElement](/api/onenote/officeimo-onenote-onenoteelement/)

`public OneNoteLayout? Layout { get; set; }` [#](#property-layout)

[OneNoteContent.cs:38](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteContent.cs#L38)

Inherited from [OneNoteElement](/api/onenote/officeimo-onenote-onenoteelement/)

`public OneNoteAuthor? Author { get; set; }` [#](#property-author)

[OneNoteContent.cs:41](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteContent.cs#L41)

Inherited from [OneNoteElement](/api/onenote/officeimo-onenote-onenoteelement/)

`public IList<OneNoteTag> Tags { get; }` [#](#property-tags)

[OneNoteContent.cs:44](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteContent.cs#L44)

Inherited from [OneNoteElement](/api/onenote/officeimo-onenote-onenoteelement/)

`public IList<OneNoteOpaqueProperty> UnknownProperties { get; }` [#](#property-unknownproperties)

[OneNoteContent.cs:47](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteContent.cs#L47)

Inherited from [OneNoteElement](/api/onenote/officeimo-onenote-onenoteelement/)

<!-- PowerForge markdown artifact sha256:10E8317DF92B4AD42243115CCABB2AE48C9EAB1884574223C0CA3BEA348F476F -->
