# OfficeMathLayoutMetrics

Measured bounds and baseline of a mathematical expression.

Struct 

`OfficeIMO.Drawing`

**Namespace**

`OfficeIMO.Drawing`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[OfficeMathRenderer.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Math/OfficeMathRenderer.cs#L12)

**Base**

`ValueType`

**Modifiers**

sealed

Measured bounds and baseline of a mathematical expression.

## Inheritance

- ValueType
- OfficeMathLayoutMetrics

## 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

- Method [OfficeMathRenderer.AddToDrawing](/api/core/officeimo-drawing-officemathrenderer/#method-addtodrawing-officeimo-drawing-officedrawing-officeimo-drawing-officemathexpression-double-double-officeimo-drawing-officemathrenderoptions)
- Method [OfficeMathRenderer.Measure](/api/core/officeimo-drawing-officemathrenderer/#method-measure-officeimo-drawing-officemathexpression-officeimo-drawing-officemathrenderoptions)

Filter members 

Show inherited

## Inherited Methods

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

Inherited from ValueType

Parameters

**obj object? required**

Returns

`bool`

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

Inherited from ValueType

Returns

`int`

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

Inherited from object

Returns

`Type`

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

Inherited from ValueType

Returns

`string?`

## Properties

`public double Width { get; }` [#](#property-width)

[OfficeMathRenderer.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Math/OfficeMathRenderer.cs#L12)

Expression width excluding caller-owned padding.

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

[OfficeMathRenderer.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Math/OfficeMathRenderer.cs#L15)

Expression height excluding caller-owned padding.

`public double Baseline { get; }` [#](#property-baseline)

[OfficeMathRenderer.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Math/OfficeMathRenderer.cs#L18)

Distance from the top edge to the mathematical baseline.

<!-- PowerForge markdown artifact sha256:69B0718C3F9C9B07D0D6D6F7C0F45166CB486A07779992CD9322890F1A79DB2C -->
