Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PowerPointParagraphFluent

OfficeIMO.PowerPoint

Namespace
OfficeIMO.PowerPoint
Assembly
OfficeIMO.PowerPoint
Modifiers
static

The fluent methods of 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

Methods

Alignment``1 2 overloads
public static TSelf Alignment<TSelf>(TSelf powerPointParagraph, PowerPointTextAlignment alignment) #

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

Sets PowerPointParagraph.Alignment: 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

// C# initializer or property             // C# fluent
powerPointParagraph.Alignment = value;    powerPointParagraph.Alignment(value);
public static TSelf BackgroundColor<TSelf>(TSelf powerPointParagraph, OfficeColor color) #

Sets the background (highlight) color of every run in the paragraph and returns the paragraph for chaining. Use the run returned by PowerPointParagraph.AddText 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) #

Sets the bold property of every run in the paragraph and returns the paragraph for chaining. Use the run returned by PowerPointParagraph.AddText 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) #

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

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

Sets PowerPointParagraph.BulletSizePercent: 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

// 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) #

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

Sets PowerPointParagraph.BulletSize: 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

// C# initializer or property              // C# fluent
powerPointParagraph.BulletSize = value;    powerPointParagraph.BulletSize(value);
public static TSelf Bullet<TSelf>(TSelf powerPointParagraph, char bulletChar = '•') #

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

Sets the color of every run in the paragraph and returns the paragraph for chaining. Use the run returned by PowerPointParagraph.AddText 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) #

Sets the font family of every run in the paragraph and returns the paragraph for chaining. Use the run returned by PowerPointParagraph.AddText 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) #

Sets the font size of every run in the paragraph and returns the paragraph for chaining. Use the run returned by PowerPointParagraph.AddText 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) #

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

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

Sets PowerPointParagraph.Indent: 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

// C# initializer or property          // C# fluent
powerPointParagraph.Indent = value;    powerPointParagraph.Indent(value);
public static TSelf Italic<TSelf>(TSelf powerPointParagraph, bool isItalic = true) #

Sets the italic property of every run in the paragraph and returns the paragraph for chaining. Use the run returned by PowerPointParagraph.AddText 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) #

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

Sets PowerPointParagraph.LeftMargin: 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

// 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) #

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

Sets PowerPointParagraph.Level: 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

// 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) #

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

Sets PowerPointParagraph.LineSpacingMultiplier: 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

// 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) #

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

Sets PowerPointParagraph.LineSpacing: 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

// 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) #

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

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

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

Sets PowerPointParagraph.RightToLeft: 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

// 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) #

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

Sets PowerPointParagraph.SpaceAfter: 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

// 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) #

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

Sets PowerPointParagraph.SpaceBefore: 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

// C# initializer or property               // C# fluent
powerPointParagraph.SpaceBefore = value;    powerPointParagraph.SpaceBefore(value);
public static TSelf Strikethrough<TSelf>(TSelf powerPointParagraph, bool strikethrough = true) #

Sets the strikethrough property of every run in the paragraph and returns the paragraph for chaining. Use the run returned by PowerPointParagraph.AddText 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) #

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

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

Sets the underline property of every run in the paragraph and returns the paragraph for chaining. Use the run returned by PowerPointParagraph.AddText 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.