# PowerPointParagraphFluent

The fluent methods of PowerPointParagraph, generated from its public properties: A property-named method sets a property and a singular-named method adds…

Class 

`OfficeIMO.PowerPoint`

**Namespace**

`OfficeIMO.PowerPoint`

**Assembly**

`OfficeIMO.PowerPoint`

**Modifiers**

static

The fluent methods of [PowerPointParagraph](/api/powerpoint/officeimo-powerpoint-powerpointparagraph/), generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

## Inheritance

- object
- PowerPointParagraphFluent

Filter members 

Show inherited

## Methods

Alignment``1 2 overloads

`public static TSelf Alignment<TSelf>(TSelf powerPointParagraph, PowerPointTextAlignment alignment)` [#](#method-alignment-officeimo-powerpoint-powerpointtextalignment)

Sets paragraph alignment and returns the paragraph for chaining.

Type Parameters

**TSelf**

Parameters

**powerPointParagraph TSelf required**

The instance.

**alignment OfficeIMO.PowerPoint.PowerPointTextAlignment required**

The value.

Returns

`TSelf` The same instance.

`public static TSelf Alignment<TSelf>(TSelf powerPointParagraph, PowerPointTextAlignment? value)` [#](#method-alignment-nullable-officeimo-powerpoint-powerpointtextalignment)

Sets [PowerPointParagraph.Alignment](/api/powerpoint/officeimo-powerpoint-powerpointparagraph/): Gets or sets paragraph alignment.

Type Parameters

**TSelf**

Parameters

**powerPointParagraph TSelf required**

The instance.

**value OfficeIMO.PowerPoint.PowerPointTextAlignment? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property             // C# fluent
powerPointParagraph.Alignment = value;    powerPointParagraph.Alignment(value);
```

`public static TSelf BackgroundColor<TSelf>(TSelf powerPointParagraph, OfficeColor color)` [#](#method-backgroundcolor-officeimo-officecolor)

Sets the background (highlight) color of every run in the paragraph and returns the paragraph for chaining. Use the run returned by [PowerPointParagraph.AddText](/api/powerpoint/officeimo-powerpoint-powerpointparagraph/) to format a single run.

Type Parameters

**TSelf**

Parameters

**powerPointParagraph TSelf required**

The instance.

**color OfficeIMO.OfficeColor required**

The value.

Returns

`TSelf` The same instance.

`public static TSelf Bold<TSelf>(TSelf powerPointParagraph, bool isBold = true)` [#](#method-bold-boolean)

Sets the bold property of every run in the paragraph and returns the paragraph for chaining. Use the run returned by [PowerPointParagraph.AddText](/api/powerpoint/officeimo-powerpoint-powerpointparagraph/) to format a single run.

Type Parameters

**TSelf**

Parameters

**powerPointParagraph TSelf required**

The instance.

**isBold bool = true optional**

The value.

Returns

`TSelf` The same instance.

`public static TSelf BulletFontFamily<TSelf>(TSelf powerPointParagraph, string fontFamily)` [#](#method-bulletfontfamily-string)

Sets the bullet font and returns the paragraph for chaining.

Type Parameters

**TSelf**

Parameters

**powerPointParagraph TSelf required**

The instance.

**fontFamily string required**

The value.

Returns

`TSelf` The same instance.

BulletSizePercent``1 2 overloads

`public static TSelf BulletSizePercent<TSelf>(TSelf powerPointParagraph, int percent)` [#](#method-bulletsizepercent-int32)

Sets the bullet size in percent (100 = 100%) and returns the paragraph for chaining.

Type Parameters

**TSelf**

Parameters

**powerPointParagraph TSelf required**

The instance.

**percent int required**

The value.

Returns

`TSelf` The same instance.

`public static TSelf BulletSizePercent<TSelf>(TSelf powerPointParagraph, int? value)` [#](#method-bulletsizepercent-nullable-system-int32)

Sets [PowerPointParagraph.BulletSizePercent](/api/powerpoint/officeimo-powerpoint-powerpointparagraph/): Gets or sets the bullet size in percent (100 = 100%).

Type Parameters

**TSelf**

Parameters

**powerPointParagraph TSelf required**

The instance.

**value int? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                     // C# fluent
powerPointParagraph.BulletSizePercent = value;    powerPointParagraph.BulletSizePercent(value);
```

BulletSize``1 2 overloads

`public static TSelf BulletSize<TSelf>(TSelf powerPointParagraph, OfficeLength size)` [#](#method-bulletsize-officeimo-officelength)

Sets the bullet size and returns the paragraph for chaining.

Type Parameters

**TSelf**

Parameters

**powerPointParagraph TSelf required**

The instance.

**size OfficeIMO.OfficeLength required**

The value.

Returns

`TSelf` The same instance.

`public static TSelf BulletSize<TSelf>(TSelf powerPointParagraph, OfficeLength? value)` [#](#method-bulletsize-nullable-officeimo-officelength)

Sets [PowerPointParagraph.BulletSize](/api/powerpoint/officeimo-powerpoint-powerpointparagraph/): Gets or sets the bullet size as a physical length.

Type Parameters

**TSelf**

Parameters

**powerPointParagraph TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property              // C# fluent
powerPointParagraph.BulletSize = value;    powerPointParagraph.BulletSize(value);
```

`public static TSelf Bullet<TSelf>(TSelf powerPointParagraph, char bulletChar = '•')` [#](#method-bullet-char)

Applies a character bullet to the paragraph.

Type Parameters

**TSelf**

Parameters

**powerPointParagraph TSelf required**

The instance.

**bulletChar char = '•' optional**

The value.

Returns

`TSelf` The same instance.

`public static TSelf Color<TSelf>(TSelf powerPointParagraph, OfficeColor color)` [#](#method-color-officeimo-officecolor)

Sets the color of every run in the paragraph and returns the paragraph for chaining. Use the run returned by [PowerPointParagraph.AddText](/api/powerpoint/officeimo-powerpoint-powerpointparagraph/) to format a single run.

Type Parameters

**TSelf**

Parameters

**powerPointParagraph TSelf required**

The instance.

**color OfficeIMO.OfficeColor required**

The value.

Returns

`TSelf` The same instance.

`public static TSelf FontFamily<TSelf>(TSelf powerPointParagraph, string fontFamily)` [#](#method-fontfamily-string)

Sets the font family of every run in the paragraph and returns the paragraph for chaining. Use the run returned by [PowerPointParagraph.AddText](/api/powerpoint/officeimo-powerpoint-powerpointparagraph/) to format a single run.

Type Parameters

**TSelf**

Parameters

**powerPointParagraph TSelf required**

The instance.

**fontFamily string required**

The value.

Returns

`TSelf` The same instance.

`public static TSelf FontSize<TSelf>(TSelf powerPointParagraph, OfficeLength size)` [#](#method-fontsize-officeimo-officelength)

Sets the font size of every run in the paragraph and returns the paragraph for chaining. Use the run returned by [PowerPointParagraph.AddText](/api/powerpoint/officeimo-powerpoint-powerpointparagraph/) to format a single run.

Type Parameters

**TSelf**

Parameters

**powerPointParagraph TSelf required**

The instance.

**size OfficeIMO.OfficeLength required**

The value.

Returns

`TSelf` The same instance.

`public static TSelf Hanging<TSelf>(TSelf powerPointParagraph, OfficeLength value)` [#](#method-hanging-officeimo-officelength)

Sets a hanging indent and returns the paragraph for chaining.

Type Parameters

**TSelf**

Parameters

**powerPointParagraph TSelf required**

The instance.

**value OfficeIMO.OfficeLength required**

The value.

Returns

`TSelf` The same instance.

Indent``1 2 overloads

`public static TSelf Indent<TSelf>(TSelf powerPointParagraph, OfficeLength value)` [#](#method-indent-officeimo-officelength)

Sets indentation and returns the paragraph for chaining.

Type Parameters

**TSelf**

Parameters

**powerPointParagraph TSelf required**

The instance.

**value OfficeIMO.OfficeLength required**

The value.

Returns

`TSelf` The same instance.

`public static TSelf Indent<TSelf>(TSelf powerPointParagraph, OfficeLength? value)` [#](#method-indent-nullable-officeimo-officelength)

Sets [PowerPointParagraph.Indent](/api/powerpoint/officeimo-powerpoint-powerpointparagraph/): Gets or sets paragraph indentation as a physical length.

Type Parameters

**TSelf**

Parameters

**powerPointParagraph TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property          // C# fluent
powerPointParagraph.Indent = value;    powerPointParagraph.Indent(value);
```

`public static TSelf Italic<TSelf>(TSelf powerPointParagraph, bool isItalic = true)` [#](#method-italic-boolean)

Sets the italic property of every run in the paragraph and returns the paragraph for chaining. Use the run returned by [PowerPointParagraph.AddText](/api/powerpoint/officeimo-powerpoint-powerpointparagraph/) to format a single run.

Type Parameters

**TSelf**

Parameters

**powerPointParagraph TSelf required**

The instance.

**isItalic bool = true optional**

The value.

Returns

`TSelf` The same instance.

LeftMargin``1 2 overloads

`public static TSelf LeftMargin<TSelf>(TSelf powerPointParagraph, OfficeLength value)` [#](#method-leftmargin-officeimo-officelength)

Sets left margin and returns the paragraph for chaining.

Type Parameters

**TSelf**

Parameters

**powerPointParagraph TSelf required**

The instance.

**value OfficeIMO.OfficeLength required**

The value.

Returns

`TSelf` The same instance.

`public static TSelf LeftMargin<TSelf>(TSelf powerPointParagraph, OfficeLength? value)` [#](#method-leftmargin-nullable-officeimo-officelength)

Sets [PowerPointParagraph.LeftMargin](/api/powerpoint/officeimo-powerpoint-powerpointparagraph/): Gets or sets paragraph left margin as a physical length.

Type Parameters

**TSelf**

Parameters

**powerPointParagraph TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property              // C# fluent
powerPointParagraph.LeftMargin = value;    powerPointParagraph.LeftMargin(value);
```

Level``1 2 overloads

`public static TSelf Level<TSelf>(TSelf powerPointParagraph, int level)` [#](#method-level-int32)

Sets the bullet/list level and returns the paragraph for chaining.

Type Parameters

**TSelf**

Parameters

**powerPointParagraph TSelf required**

The instance.

**level int required**

The value.

Returns

`TSelf` The same instance.

`public static TSelf Level<TSelf>(TSelf powerPointParagraph, int? value)` [#](#method-level-nullable-system-int32)

Sets [PowerPointParagraph.Level](/api/powerpoint/officeimo-powerpoint-powerpointparagraph/): Gets or sets the bullet/list level (0-8).

Type Parameters

**TSelf**

Parameters

**powerPointParagraph TSelf required**

The instance.

**value int? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property         // C# fluent
powerPointParagraph.Level = value;    powerPointParagraph.Level(value);
```

LineSpacingMultiplier``1 2 overloads

`public static TSelf LineSpacingMultiplier<TSelf>(TSelf powerPointParagraph, double multiplier)` [#](#method-linespacingmultiplier-double)

Sets line spacing as a multiplier (1.0 = 100%) and returns the paragraph for chaining.

Type Parameters

**TSelf**

Parameters

**powerPointParagraph TSelf required**

The instance.

**multiplier double required**

The value.

Returns

`TSelf` The same instance.

`public static TSelf LineSpacingMultiplier<TSelf>(TSelf powerPointParagraph, double? value)` [#](#method-linespacingmultiplier-nullable-system-double)

Sets [PowerPointParagraph.LineSpacingMultiplier](/api/powerpoint/officeimo-powerpoint-powerpointparagraph/): Gets or sets line spacing as a multiplier (1.0 = 100%).

Type Parameters

**TSelf**

Parameters

**powerPointParagraph TSelf required**

The instance.

**value double? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                         // C# fluent
powerPointParagraph.LineSpacingMultiplier = value;    powerPointParagraph.LineSpacingMultiplier(value);
```

LineSpacing``1 2 overloads

`public static TSelf LineSpacing<TSelf>(TSelf powerPointParagraph, OfficeLength value)` [#](#method-linespacing-officeimo-officelength)

Sets line spacing and returns the paragraph for chaining.

Type Parameters

**TSelf**

Parameters

**powerPointParagraph TSelf required**

The instance.

**value OfficeIMO.OfficeLength required**

The value.

Returns

`TSelf` The same instance.

`public static TSelf LineSpacing<TSelf>(TSelf powerPointParagraph, OfficeLength? value)` [#](#method-linespacing-nullable-officeimo-officelength)

Sets [PowerPointParagraph.LineSpacing](/api/powerpoint/officeimo-powerpoint-powerpointparagraph/): Gets or sets line spacing as a physical length.

Type Parameters

**TSelf**

Parameters

**powerPointParagraph TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property               // C# fluent
powerPointParagraph.LineSpacing = value;    powerPointParagraph.LineSpacing(value);
```

Numbered``1 3 overloads

`public static TSelf Numbered<TSelf>(TSelf powerPointParagraph, PowerPointNumberingScheme style, int startAt = 1)` [#](#method-numbered-officeimo-powerpoint-powerpointnumberingscheme-int32)

Applies an auto-numbered bullet to the paragraph.

Type Parameters

**TSelf**

Parameters

**powerPointParagraph TSelf required**

The instance.

**style OfficeIMO.PowerPoint.PowerPointNumberingScheme required**

The value.

**startAt int = 1 optional**

The value.

Returns

`TSelf` The same instance.

`public static TSelf Numbered<TSelf>(TSelf powerPointParagraph, PowerPointNumberingScheme style)` [#](#method-numbered-officeimo-powerpoint-powerpointnumberingscheme)

Applies an auto-numbered bullet to the paragraph without resetting the start value.

Type Parameters

**TSelf**

Parameters

**powerPointParagraph TSelf required**

The instance.

**style OfficeIMO.PowerPoint.PowerPointNumberingScheme required**

The value.

Returns

`TSelf` The same instance.

`public static TSelf Numbered<TSelf>(TSelf powerPointParagraph, int startAt = 1)` [#](#method-numbered-int32)

Applies a default auto-numbered bullet (Arabic period) to the paragraph.

Type Parameters

**TSelf**

Parameters

**powerPointParagraph TSelf required**

The instance.

**startAt int = 1 optional**

The value.

Returns

`TSelf` The same instance.

`public static TSelf RightToLeft<TSelf>(TSelf powerPointParagraph, bool? value = true)` [#](#method-righttoleft-nullable-system-boolean)

Sets [PowerPointParagraph.RightToLeft](/api/powerpoint/officeimo-powerpoint-powerpointparagraph/): Gets or sets the explicit right-to-left paragraph direction.

Type Parameters

**TSelf**

Parameters

**powerPointParagraph TSelf required**

The instance.

**value bool? = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property               // C# fluent
powerPointParagraph.RightToLeft = value;    powerPointParagraph.RightToLeft(value);
```

SpaceAfter``1 2 overloads

`public static TSelf SpaceAfter<TSelf>(TSelf powerPointParagraph, OfficeLength value)` [#](#method-spaceafter-officeimo-officelength)

Sets space after the paragraph and returns the paragraph for chaining.

Type Parameters

**TSelf**

Parameters

**powerPointParagraph TSelf required**

The instance.

**value OfficeIMO.OfficeLength required**

The value.

Returns

`TSelf` The same instance.

`public static TSelf SpaceAfter<TSelf>(TSelf powerPointParagraph, OfficeLength? value)` [#](#method-spaceafter-nullable-officeimo-officelength)

Sets [PowerPointParagraph.SpaceAfter](/api/powerpoint/officeimo-powerpoint-powerpointparagraph/): Gets or sets space after the paragraph as a physical length.

Type Parameters

**TSelf**

Parameters

**powerPointParagraph TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property              // C# fluent
powerPointParagraph.SpaceAfter = value;    powerPointParagraph.SpaceAfter(value);
```

SpaceBefore``1 2 overloads

`public static TSelf SpaceBefore<TSelf>(TSelf powerPointParagraph, OfficeLength value)` [#](#method-spacebefore-officeimo-officelength)

Sets space before the paragraph and returns the paragraph for chaining.

Type Parameters

**TSelf**

Parameters

**powerPointParagraph TSelf required**

The instance.

**value OfficeIMO.OfficeLength required**

The value.

Returns

`TSelf` The same instance.

`public static TSelf SpaceBefore<TSelf>(TSelf powerPointParagraph, OfficeLength? value)` [#](#method-spacebefore-nullable-officeimo-officelength)

Sets [PowerPointParagraph.SpaceBefore](/api/powerpoint/officeimo-powerpoint-powerpointparagraph/): Gets or sets space before the paragraph as a physical length.

Type Parameters

**TSelf**

Parameters

**powerPointParagraph TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property               // C# fluent
powerPointParagraph.SpaceBefore = value;    powerPointParagraph.SpaceBefore(value);
```

`public static TSelf Strikethrough<TSelf>(TSelf powerPointParagraph, bool strikethrough = true)` [#](#method-strikethrough-boolean)

Sets the strikethrough property of every run in the paragraph and returns the paragraph for chaining. Use the run returned by [PowerPointParagraph.AddText](/api/powerpoint/officeimo-powerpoint-powerpointparagraph/) to format a single run.

Type Parameters

**TSelf**

Parameters

**powerPointParagraph TSelf required**

The instance.

**strikethrough bool = true optional**

The value.

Returns

`TSelf` The same instance.

`public static TSelf TabStops<TSelf>(TSelf powerPointParagraph, IEnumerable<PowerPointTabStop> tabStops)` [#](#method-tabstops-collections-generic-ienumerable-officeimo-powerpoint-powerpointtabstop)

Replaces up to 32 explicit tab stops. An empty sequence removes locally configured stops.

Type Parameters

**TSelf**

Parameters

**powerPointParagraph TSelf required**

The instance.

**tabStops System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointTabStop> required**

The value.

Returns

`TSelf` The same instance.

`public static TSelf Text<TSelf>(TSelf powerPointParagraph, string text)` [#](#method-text-string)

Sets the paragraph text and returns the paragraph for chaining.

Type Parameters

**TSelf**

Parameters

**powerPointParagraph TSelf required**

The instance.

**text string required**

The value.

Returns

`TSelf` The same instance.

`public static TSelf Underline<TSelf>(TSelf powerPointParagraph, bool underline = true)` [#](#method-underline-boolean)

Sets the underline property of every run in the paragraph and returns the paragraph for chaining. Use the run returned by [PowerPointParagraph.AddText](/api/powerpoint/officeimo-powerpoint-powerpointparagraph/) to format a single run.

Type Parameters

**TSelf**

Parameters

**powerPointParagraph TSelf required**

The instance.

**underline bool = true optional**

The value.

Returns

`TSelf` The same instance.

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

<!-- PowerForge markdown artifact sha256:13C8538E25098548912645568757A41CDC5E2421CB0FDC389E43E3EBDC9C4050 -->
