# IWorkTextBoxLayout

Selected text-frame formatting, including inherited padding and alignment.

Class 

`OfficeIMO.IWork`

**Namespace**

`OfficeIMO.IWork`

**Assembly**

`OfficeIMO.IWork`

**Source revision**

`5e5a2dda74b3` with working tree changes

**Source**

[IWorkTextBoxLayout.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.IWork/IWorkTextBoxLayout.cs#L30)

**Modifiers**

sealed

Selected text-frame formatting, including inherited padding and alignment.

## Inheritance

- object
- IWorkTextBoxLayout

## Usage

Explore 1 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 [IWorkTextBox.Layout](/api/iwork/officeimo-iwork-iworktextbox/#property-layout)

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 bool? ShrinkToFit { get; }` [#](#property-shrinktofit)

[IWorkTextBoxLayout.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.IWork/IWorkTextBoxLayout.cs#L30)

Gets whether text scales down to fit its fixed frame; null means unspecified.

`public IWorkTextVerticalAlignment? VerticalAlignment { get; }` [#](#property-verticalalignment)

[IWorkTextBoxLayout.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.IWork/IWorkTextBoxLayout.cs#L32)

Gets the selected vertical alignment.

`public double? LeftInsetPoints { get; }` [#](#property-leftinsetpoints)

[IWorkTextBoxLayout.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.IWork/IWorkTextBoxLayout.cs#L34)

Gets left text padding in points.

`public double? TopInsetPoints { get; }` [#](#property-topinsetpoints)

[IWorkTextBoxLayout.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.IWork/IWorkTextBoxLayout.cs#L36)

Gets top text padding in points.

`public double? RightInsetPoints { get; }` [#](#property-rightinsetpoints)

[IWorkTextBoxLayout.cs:38](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.IWork/IWorkTextBoxLayout.cs#L38)

Gets right text padding in points.

`public double? BottomInsetPoints { get; }` [#](#property-bottominsetpoints)

[IWorkTextBoxLayout.cs:40](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.IWork/IWorkTextBoxLayout.cs#L40)

Gets bottom text padding in points.

<!-- PowerForge markdown artifact sha256:DD628535B82B8A1691E5538FAED37612225680CFA4B0B7D0C961F35F99BAA25F -->
