# IWorkKeynoteTextBox

An immutable positioned text box in a newly created Keynote presentation.

Class 

`OfficeIMO.IWork`

**Namespace**

`OfficeIMO.IWork`

**Assembly**

`OfficeIMO.IWork`

**Source revision**

`5e5a2dda74b3` with working tree changes

**Source**

[IWorkKeynoteTextBox.cs:33](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.IWork/Creation/IWorkKeynoteTextBox.cs#L33)

**Implements**

`IWorkKeynoteCreationDrawable`

**Modifiers**

sealed

An immutable positioned text box in a newly created Keynote presentation.

## Inheritance

- object
- IWorkKeynoteTextBox

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

- Method [IWorkKeynoteSlideBuilder.AddRichText](/api/iwork/officeimo-iwork-iworkkeynoteslidebuilder/#method-addrichtext-collections-generic-ienumerable-officeimo-iwork-iworktextrundata-single-single-single-single)
- Method [IWorkKeynoteSlideBuilder.AddText](/api/iwork/officeimo-iwork-iworkkeynoteslidebuilder/#method-addtext-string-single-single-single-single-string-single-string)
- Property [IWorkKeynoteSlideBuilder.TextBoxes](/api/iwork/officeimo-iwork-iworkkeynoteslidebuilder/#property-textboxes)

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 string Text { get; }` [#](#property-text)

[IWorkKeynoteTextBox.cs:33](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.IWork/Creation/IWorkKeynoteTextBox.cs#L33)

Gets the text with normalized LF line breaks.

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

[IWorkKeynoteTextBox.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.IWork/Creation/IWorkKeynoteTextBox.cs#L35)

Gets the immutable character runs in text order.

`public IWorkGeometry Geometry { get; }` [#](#property-geometry)

[IWorkKeynoteTextBox.cs:37](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.IWork/Creation/IWorkKeynoteTextBox.cs#L37)

Gets the frame geometry in points.

`public string FontName { get; }` [#](#property-fontname)

[IWorkKeynoteTextBox.cs:39](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.IWork/Creation/IWorkKeynoteTextBox.cs#L39)

Gets the first run's font, also used as the paragraph default.

`public float FontSizePoints { get; }` [#](#property-fontsizepoints)

[IWorkKeynoteTextBox.cs:41](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.IWork/Creation/IWorkKeynoteTextBox.cs#L41)

Gets the first run's font size, also used as the paragraph default.

`public IWorkColor Color { get; }` [#](#property-color)

[IWorkKeynoteTextBox.cs:43](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.IWork/Creation/IWorkKeynoteTextBox.cs#L43)

Gets the first run's opaque sRGB color, also used as the paragraph default.

<!-- PowerForge markdown artifact sha256:40FAD94C635949C8ED0BB896097B823229D98335C611A683EE3BABE0ABF40602 -->
