# PdfInlineElement

Base class for a visual that participates in rich-paragraph wrapping.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfInlineElement.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfInlineElement.cs#L10)

**Modifiers**

abstract

Base class for a visual that participates in rich-paragraph wrapping.

## Inheritance

- object
- PdfInlineElement

## Derived Types

- [PdfInlineBox](/api/pdf/officeimo-pdf-pdfinlinebox/)
- [PdfInlineImage](/api/pdf/officeimo-pdf-pdfinlineimage/)
- [PdfInlineRule](/api/pdf/officeimo-pdf-pdfinlinerule/)

## Usage

Explore 3 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 1

- Property [PdfTextRun.InlineElement](/api/pdf/officeimo-pdf-pdftextrun/#property-inlineelement)

### Accepted by parameters 2

- Method [PdfParagraph.AddInline](/api/pdf/officeimo-pdf-pdfparagraph/#method-addinline-officeimo-pdf-pdfinlineelement) parameter `element`
- Method [PdfTextRun.Inline](/api/pdf/officeimo-pdf-pdftextrun/#method-inline-officeimo-pdf-pdfinlineelement) parameter `element`

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 OfficeLength Width { get; }` [#](#property-width)

[PdfInlineElement.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfInlineElement.cs#L10)

Intrinsic width of the inline element in points. Flexible rules resolve their zero intrinsic width during wrapping.

`public OfficeLength Height { get; }` [#](#property-height)

[PdfInlineElement.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfInlineElement.cs#L13)

Height of the inline element in points.

`public OfficeLength BaselineOffset { get; }` [#](#property-baselineoffset)

[PdfInlineElement.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfInlineElement.cs#L16)

Vertical offset of the element bottom from the text baseline, in points.

`public string? AltText { get; }` [#](#property-alttext)

[PdfInlineElement.cs:19](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfInlineElement.cs#L19)

Alternative text used when the element is emitted into a tagged document.

<!-- PowerForge markdown artifact sha256:67558B3705EE8B3A1ADB304E6DC851BE3C560B0B4D68F9C73EE125BA22EB92B3 -->
