# HtmlSemanticBlock

One typed semantic block with optional list, table, resource, form, and rich-run data.

Class 

`OfficeIMO.Html`

**Namespace**

`OfficeIMO.Html`

**Assembly**

`OfficeIMO.Html`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[HtmlSemanticDocument.cs:176](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticDocument.cs#L176)

**Modifiers**

sealed

One typed semantic block with optional list, table, resource, form, and rich-run data.

## Inheritance

- object
- HtmlSemanticBlock

## Usage

Explore 4 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 4

- Property [HtmlSemanticBlock.Children](/api/html/officeimo-html-htmlsemanticblock/#property-children)
- Property [HtmlSemanticDocument.RootTables](/api/html/officeimo-html-htmlsemanticdocument/#property-roottables)
- Property [HtmlSemanticSection.Blocks](/api/html/officeimo-html-htmlsemanticsection/#property-blocks)
- Property [HtmlSemanticSection.TitleHeading](/api/html/officeimo-html-htmlsemanticsection/#property-titleheading)

Filter members 

Show inherited

## 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 HtmlSemanticBlockKind Kind { get; }` [#](#property-kind)

[HtmlSemanticDocument.cs:176](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticDocument.cs#L176)

Semantic block category.

`public string Text { get; }` [#](#property-text)

[HtmlSemanticDocument.cs:179](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticDocument.cs#L179)

Normalized plain-text projection.

`public int Level { get; }` [#](#property-level)

[HtmlSemanticDocument.cs:182](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticDocument.cs#L182)

Heading level or nested list depth; zero when not applicable.

`public bool Ordered { get; }` [#](#property-ordered)

[HtmlSemanticDocument.cs:185](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticDocument.cs#L185)

Whether this block is an ordered list.

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

[HtmlSemanticDocument.cs:188](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticDocument.cs#L188)

Rich editable text runs.

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

[HtmlSemanticDocument.cs:191](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticDocument.cs#L191)

Nested list items or retained child blocks.

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

[HtmlSemanticDocument.cs:194](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticDocument.cs#L194)

Typed list state when [HtmlSemanticBlock.Kind](/api/html/officeimo-html-htmlsemanticblock/) is [HtmlSemanticBlockKind.List](/api/html/officeimo-html-htmlsemanticblockkind/).

`public HtmlSemanticListItem? ListItem { get; }` [#](#property-listitem)

[HtmlSemanticDocument.cs:197](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticDocument.cs#L197)

Typed list-item state when [HtmlSemanticBlock.Kind](/api/html/officeimo-html-htmlsemanticblock/) is [HtmlSemanticBlockKind.ListItem](/api/html/officeimo-html-htmlsemanticblockkind/).

`public HtmlSemanticTable? Table { get; }` [#](#property-table)

[HtmlSemanticDocument.cs:200](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticDocument.cs#L200)

Typed table data when [HtmlSemanticBlock.Kind](/api/html/officeimo-html-htmlsemanticblock/) is [HtmlSemanticBlockKind.Table](/api/html/officeimo-html-htmlsemanticblockkind/).

`public HtmlSemanticResource? Resource { get; }` [#](#property-resource)

[HtmlSemanticDocument.cs:203](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticDocument.cs#L203)

Typed resource when the block references an image or media object.

`public IReadOnlyList<HtmlSemanticResource> InlineResources { get; }` [#](#property-inlineresources)

[HtmlSemanticDocument.cs:206](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticDocument.cs#L206)

Resources embedded inside this block, retained independently from its text runs.

`public HtmlSemanticForm? Form { get; }` [#](#property-form)

[HtmlSemanticDocument.cs:209](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticDocument.cs#L209)

Typed form-container state when this block represents a form element.

`public HtmlSemanticFormControl? FormControl { get; }` [#](#property-formcontrol)

[HtmlSemanticDocument.cs:212](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticDocument.cs#L212)

Typed form state when the block represents a form control.

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

[HtmlSemanticDocument.cs:215](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticDocument.cs#L215)

Computed style snapshot from the shared CSS engine.

`public HtmlSemanticSourceLocation? SourceLocation { get; }` [#](#property-sourcelocation)

[HtmlSemanticDocument.cs:218](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticDocument.cs#L218)

Source provenance.

<!-- PowerForge markdown artifact sha256:ED81A42010A7103E25E79F90074419C6FE5A05B0761E75DDE5DF5925BA6B5E37 -->
