# IWorkPagesParagraphLayout

Immutable spacing and custom tab stops for an owned native Pages body paragraph.

Class 

`OfficeIMO.IWork`

**Namespace**

`OfficeIMO.IWork`

**Assembly**

`OfficeIMO.IWork`

**Source revision**

`273d35d5ba8a` with working tree changes

**Source**

[IWorkPagesParagraphLayout.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.IWork/Creation/IWorkPagesParagraphLayout.cs#L14)

**Modifiers**

sealed

Immutable spacing and custom tab stops for an owned native Pages body paragraph.

## Inheritance

- object
- IWorkPagesParagraphLayout

## Remarks

Paragraphs remain left-aligned, with zero indents and a 36-point default tab interval. Custom layout uses a period for decimal tabs. No tab leaders are authored.

## Usage

Explore 5 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 [IWorkPagesParagraphData.Layout](/api/iwork/officeimo-iwork-iworkpagesparagraphdata/#property-layout)

### Accepted by parameters 4

- Method [IWorkPagesDocument.AddParagraph](/api/iwork/officeimo-iwork-iworkpagesdocument/#method-addparagraph-string-officeimo-iwork-iworkpagesparagraphlayout-string-single-string) parameter `layout`
- Method [IWorkPagesDocument.AddRichParagraph](/api/iwork/officeimo-iwork-iworkpagesdocument/#method-addrichparagraph-collections-generic-ienumerable-officeimo-iwork-iworktextrundata-officeimo-iwork-iworkpagesparagraphlayout) parameter `layout`
- Method [IWorkPagesNumberedList.AddItem](/api/iwork/officeimo-iwork-iworkpagesnumberedlist/#method-additem-string-int32-nullable-system-int32-officeimo-iwork-iworkpagesparagraphlayout) parameter `layout`
- Method [IWorkPagesNumberedList.AddRichItem](/api/iwork/officeimo-iwork-iworkpagesnumberedlist/#method-addrichitem-collections-generic-ienumerable-officeimo-iwork-iworktextrundata-int32-nullable-system-int32-officeimo-iwork-iworkpagesparagraphlayout) parameter `layout`

Filter members 

Show inherited

## Constructors

`public IWorkPagesParagraphLayout(float lineSpacingMultiplier = 1, float spaceBeforePoints = 0, float spaceAfterPoints = 0, IEnumerable<IWorkTabStop>? tabStops = null)` [#](#constructor-ctor-single-single-single-collections-generic-ienumerable-officeimo-iwork-iworktabstop)

[IWorkPagesParagraphLayout.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.IWork/Creation/IWorkPagesParagraphLayout.cs#L14)

Creates a paragraph layout with positive relative line spacing and nonnegative before/after spacing.

Parameters

**lineSpacingMultiplier float = 1 optional**

Relative line height; 1 means single spacing.

**spaceBeforePoints float = 0 optional**

Additional space before the paragraph in points.

**spaceAfterPoints float = 0 optional**

Additional space after the paragraph in points.

**tabStops System.Collections.Generic.IEnumerable<OfficeIMO.IWork.IWorkTabStop>? = null optional**

Custom stops, copied and sorted by position. Positions must be unique.

## 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 float LineSpacingMultiplier { get; }` [#](#property-linespacingmultiplier)

[IWorkPagesParagraphLayout.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.IWork/Creation/IWorkPagesParagraphLayout.cs#L34)

Gets the relative line-height multiplier.

`public float SpaceBeforePoints { get; }` [#](#property-spacebeforepoints)

[IWorkPagesParagraphLayout.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.IWork/Creation/IWorkPagesParagraphLayout.cs#L36)

Gets additional space before the paragraph in points.

`public float SpaceAfterPoints { get; }` [#](#property-spaceafterpoints)

[IWorkPagesParagraphLayout.cs:38](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.IWork/Creation/IWorkPagesParagraphLayout.cs#L38)

Gets additional space after the paragraph in points.

`public IReadOnlyList<IWorkTabStop> TabStops { get; }` [#](#property-tabstops)

[IWorkPagesParagraphLayout.cs:40](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.IWork/Creation/IWorkPagesParagraphLayout.cs#L40)

Gets custom tab stops in increasing position order.

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