# TextBaseline

Defines vertical text placement. Review signatures, members, parameters, type relationships, and available reference details in ChartForgeX API reference.

 Enum  

`ChartForgeX.Typography`

**Namespace**

`ChartForgeX.Typography`

**Assembly**

`ChartForgeX`

**Source**

[TextFormatting.cs:24](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Typography/TextFormatting.cs#L24)

**Base**

`Enum`

**Implements**

 `IComparable` `ISpanFormattable` `IFormattable` `IConvertible` 

**Modifiers**

sealed

Defines vertical text placement.

## Inheritance

- Enum
- TextBaseline

## Usage

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

- Field [TextBaseline.Normal](/api/chartforgex-typography-textbaseline/#field-normal)
- Field [TextBaseline.Subscript](/api/chartforgex-typography-textbaseline/#field-subscript)
- Field [TextBaseline.Superscript](/api/chartforgex-typography-textbaseline/#field-superscript)
- Property [TextStyle.Baseline](/api/chartforgex-typography-textstyle/#property-baseline)
- Property [TextStyleOverride.Baseline](/api/chartforgex-typography-textstyleoverride/#property-baseline)

### Accepted by parameters 4

- Extension method [TextStyle.Baseline](/api/chartforgex-typography-textstyle/#extension-baseline-chartforgex-typography-textstyle-chartforgex-typography-textbaseline) parameter `value`
- Method [TextStyleFluent.Baseline](/api/chartforgex-typography-textstylefluent/#method-baseline-chartforgex-typography-textstyle-chartforgex-typography-textbaseline) parameter `value`
- Extension method [TextStyleOverride.Baseline](/api/chartforgex-typography-textstyleoverride/#extension-baseline-chartforgex-typography-textstyleoverride-nullable-chartforgex-typography-textbaseline) parameter `value`
- Method [TextStyleOverrideFluent.Baseline](/api/chartforgex-typography-textstyleoverridefluent/#method-baseline-chartforgex-typography-textstyleoverride-nullable-chartforgex-typography-textbaseline) parameter `value`

 Filter members   

    Show inherited   

 

## Inherited Methods

 `public int CompareTo(object? target)` [#](#method-compareto-object) 

Inherited from Enum

Parameters

**target object? required**

Returns

 `int` 

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

Inherited from Enum

Parameters

**obj object? required**

Returns

 `bool` 

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

Inherited from Enum

Returns

 `int` 

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

Inherited from object

Returns

 `Type` 

 `public TypeCode GetTypeCode()` [#](#method-gettypecode) 

Inherited from Enum

Returns

 `TypeCode` 

 `public bool HasFlag(Enum flag)` [#](#method-hasflag-enum) 

Inherited from Enum

Parameters

**flag Enum required**

Returns

 `bool` 

 ToString 4 overloads 

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

Inherited from Enum

Returns

 `string` 

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

Inherited from Enum

Parameters

**format string? required**

Returns

 `string` 

 `public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider) 

Inherited from Enum

 `Obsolete("The provider argument is not used. Use ToString() instead.")` 

Parameters

**provider IFormatProvider? required**

Returns

 `string` 

 `public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider) 

Inherited from Enum

 `Obsolete("The provider argument is not used. Use ToString(String) instead.")` 

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

 `string` 

## Values

 `public const TextBaseline Normal` [#](#field-normal) 

[TextFormatting.cs:26](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Typography/TextFormatting.cs#L26)

Normal baseline and font size.

Value: `0`

 `public const TextBaseline Superscript` [#](#field-superscript) 

[TextFormatting.cs:28](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Typography/TextFormatting.cs#L28)

Raised, reduced superscript text.

Value: `1`

 `public const TextBaseline Subscript` [#](#field-subscript) 

[TextFormatting.cs:30](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Typography/TextFormatting.cs#L30)

Lowered, reduced subscript text.

Value: `2`

<!-- PowerForge markdown artifact sha256:27C6A7E6312FE33B58026B2FD2B778BEE04CD63166BEF0A56CCD3C5C82531CA6 -->
