# HtmlSemanticResource

Policy-normalized resource reference interpreted from a semantic element.

Class 

`OfficeIMO.Html`

**Namespace**

`OfficeIMO.Html`

**Assembly**

`OfficeIMO.Html`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

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

**Modifiers**

sealed

Policy-normalized resource reference interpreted from a semantic element.

## Inheritance

- object
- HtmlSemanticResource

## Usage

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

- Property [HtmlSemanticBlock.InlineResources](/api/html/officeimo-html-htmlsemanticblock/#property-inlineresources)
- Property [HtmlSemanticBlock.Resource](/api/html/officeimo-html-htmlsemanticblock/#property-resource)
- Property [HtmlSemanticDocument.ResourceOccurrences](/api/html/officeimo-html-htmlsemanticdocument/#property-resourceoccurrences)
- Property [HtmlSemanticDocument.Resources](/api/html/officeimo-html-htmlsemanticdocument/#property-resources)
- Property [HtmlSemanticTableCell.Resources](/api/html/officeimo-html-htmlsemantictablecell/#property-resources)

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

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

Resource kind.

`public string Source { get; }` [#](#property-source)

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

Policy-normalized source value.

`public string AlternateText { get; }` [#](#property-alternatetext)

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

Accessible alternate text.

`public string MediaType { get; }` [#](#property-mediatype)

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

Declared or data-URI media type.

`public double? WidthPixels { get; }` [#](#property-widthpixels)

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

Resolved CSS or HTML width in pixels, when explicitly available.

`public double? HeightPixels { get; }` [#](#property-heightpixels)

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

Resolved CSS or HTML height in pixels, when explicitly available.

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

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

Source provenance.

`public string? Hyperlink { get; }` [#](#property-hyperlink)

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

Policy-normalized hyperlink on the nearest enclosing HTML anchor, when present.

<!-- PowerForge markdown artifact sha256:5B202E7278F6541E2C0373EDDD0C6055209F8A3FFDDE512D99505A215267303E -->
