Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PowerPointParagraphScope

OfficeIMO.PowerPoint

Namespace
OfficeIMO.PowerPoint
Assembly
OfficeIMO.PowerPoint
Modifiers
sealed

Edits one PowerPointParagraph: its fluent methods and keywords, each returning this scope.

Inheritance

  • object
  • PowerPointParagraphScope

Usage

Explore 28 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.

Accepted by parameters 3

Methods

Alignment 2 overloads
public PowerPointParagraphScope Alignment(PowerPointTextAlignment alignment) #

Sets paragraph alignment and returns the paragraph for chaining.

Parameters

alignment OfficeIMO.PowerPoint.PowerPointTextAlignment required
The value.

Returns

PowerPointParagraphScope The same scope.
public PowerPointParagraphScope Alignment(PowerPointTextAlignment? value) #

Sets PowerPointParagraph.Alignment: Gets or sets paragraph alignment.

Parameters

value OfficeIMO.PowerPoint.PowerPointTextAlignment? required
The value.

Returns

PowerPointParagraphScope The same scope.
public PowerPointParagraphScope BackgroundColor(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.

Parameters

color OfficeIMO.OfficeColor required
The value.

Returns

PowerPointParagraphScope The same scope.
public PowerPointParagraphScope Bold(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.

Parameters

isBold bool = true optional
The value.

Returns

PowerPointParagraphScope The same scope.
public PowerPointParagraphScope Bullet(char bulletChar = '•') #

Applies a character bullet to the paragraph.

Parameters

bulletChar char = '•' optional
The value.

Returns

PowerPointParagraphScope The same scope.
public PowerPointParagraphScope BulletFontFamily(string fontFamily) #

Sets the bullet font and returns the paragraph for chaining.

Parameters

fontFamily string required
The value.

Returns

PowerPointParagraphScope The same scope.
BulletSize 2 overloads
public PowerPointParagraphScope BulletSize(OfficeLength size) #

Sets the bullet size and returns the paragraph for chaining.

Parameters

size OfficeIMO.OfficeLength required
The value.

Returns

PowerPointParagraphScope The same scope.
public PowerPointParagraphScope BulletSize(OfficeLength? value) #

Sets PowerPointParagraph.BulletSize: Gets or sets the bullet size as a physical length.

Parameters

value OfficeIMO.OfficeLength? required
The value.

Returns

PowerPointParagraphScope The same scope.
BulletSizePercent 2 overloads
public PowerPointParagraphScope BulletSizePercent(int percent) #

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

Parameters

percent int required
The value.

Returns

PowerPointParagraphScope The same scope.
public PowerPointParagraphScope BulletSizePercent(int? value) #

Sets PowerPointParagraph.BulletSizePercent: Gets or sets the bullet size in percent (100 = 100%).

Parameters

value int? required
The value.

Returns

PowerPointParagraphScope The same scope.
public PowerPointParagraphScope Color(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.

Parameters

color OfficeIMO.OfficeColor required
The value.

Returns

PowerPointParagraphScope The same scope.
public PowerPointParagraphScope FontFamily(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.

Parameters

fontFamily string required
The value.

Returns

PowerPointParagraphScope The same scope.
public PowerPointParagraphScope FontSize(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.

Parameters

size OfficeIMO.OfficeLength required
The value.

Returns

PowerPointParagraphScope The same scope.
public PowerPointParagraphScope Hanging(OfficeLength value) #

Sets a hanging indent and returns the paragraph for chaining.

Parameters

value OfficeIMO.OfficeLength required
The value.

Returns

PowerPointParagraphScope The same scope.
Indent 2 overloads
public PowerPointParagraphScope Indent(OfficeLength value) #

Sets indentation and returns the paragraph for chaining.

Parameters

value OfficeIMO.OfficeLength required
The value.

Returns

PowerPointParagraphScope The same scope.
public PowerPointParagraphScope Indent(OfficeLength? value) #

Sets PowerPointParagraph.Indent: Gets or sets paragraph indentation as a physical length.

Parameters

value OfficeIMO.OfficeLength? required
The value.

Returns

PowerPointParagraphScope The same scope.
public PowerPointParagraphScope Italic(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.

Parameters

isItalic bool = true optional
The value.

Returns

PowerPointParagraphScope The same scope.
LeftMargin 2 overloads
public PowerPointParagraphScope LeftMargin(OfficeLength value) #

Sets left margin and returns the paragraph for chaining.

Parameters

value OfficeIMO.OfficeLength required
The value.

Returns

PowerPointParagraphScope The same scope.
public PowerPointParagraphScope LeftMargin(OfficeLength? value) #

Sets PowerPointParagraph.LeftMargin: Gets or sets paragraph left margin as a physical length.

Parameters

value OfficeIMO.OfficeLength? required
The value.

Returns

PowerPointParagraphScope The same scope.
Level 2 overloads
public PowerPointParagraphScope Level(int level) #

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

Parameters

level int required
The value.

Returns

PowerPointParagraphScope The same scope.
public PowerPointParagraphScope Level(int? value) #

Sets PowerPointParagraph.Level: Gets or sets the bullet/list level (0-8).

Parameters

value int? required
The value.

Returns

PowerPointParagraphScope The same scope.
LineSpacing 2 overloads
public PowerPointParagraphScope LineSpacing(OfficeLength value) #

Sets line spacing and returns the paragraph for chaining.

Parameters

value OfficeIMO.OfficeLength required
The value.

Returns

PowerPointParagraphScope The same scope.
public PowerPointParagraphScope LineSpacing(OfficeLength? value) #

Sets PowerPointParagraph.LineSpacing: Gets or sets line spacing as a physical length.

Parameters

value OfficeIMO.OfficeLength? required
The value.

Returns

PowerPointParagraphScope The same scope.
LineSpacingMultiplier 2 overloads
public PowerPointParagraphScope LineSpacingMultiplier(double multiplier) #

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

Parameters

multiplier double required
The value.

Returns

PowerPointParagraphScope The same scope.
public PowerPointParagraphScope LineSpacingMultiplier(double? value) #

Sets PowerPointParagraph.LineSpacingMultiplier: Gets or sets line spacing as a multiplier (1.0 = 100%).

Parameters

value double? required
The value.

Returns

PowerPointParagraphScope The same scope.
Numbered 3 overloads
public PowerPointParagraphScope Numbered(PowerPointNumberingScheme style, int startAt = 1) #

Applies an auto-numbered bullet to the paragraph.

Parameters

style OfficeIMO.PowerPoint.PowerPointNumberingScheme required
The value.
startAt int = 1 optional
The value.

Returns

PowerPointParagraphScope The same scope.
public PowerPointParagraphScope Numbered(PowerPointNumberingScheme style) #

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

Parameters

style OfficeIMO.PowerPoint.PowerPointNumberingScheme required
The value.

Returns

PowerPointParagraphScope The same scope.
public PowerPointParagraphScope Numbered(int startAt = 1) #

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

Parameters

startAt int = 1 optional
The value.

Returns

PowerPointParagraphScope The same scope.
public PowerPointParagraphScope RightToLeft(bool? value = true) #

Sets PowerPointParagraph.RightToLeft: Gets or sets the explicit right-to-left paragraph direction.

Parameters

value bool? = true optional
The value; true when omitted.

Returns

PowerPointParagraphScope The same scope.
SpaceAfter 2 overloads
public PowerPointParagraphScope SpaceAfter(OfficeLength value) #

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

Parameters

value OfficeIMO.OfficeLength required
The value.

Returns

PowerPointParagraphScope The same scope.
public PowerPointParagraphScope SpaceAfter(OfficeLength? value) #

Sets PowerPointParagraph.SpaceAfter: Gets or sets space after the paragraph as a physical length.

Parameters

value OfficeIMO.OfficeLength? required
The value.

Returns

PowerPointParagraphScope The same scope.
SpaceBefore 2 overloads
public PowerPointParagraphScope SpaceBefore(OfficeLength value) #

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

Parameters

value OfficeIMO.OfficeLength required
The value.

Returns

PowerPointParagraphScope The same scope.
public PowerPointParagraphScope SpaceBefore(OfficeLength? value) #

Sets PowerPointParagraph.SpaceBefore: Gets or sets space before the paragraph as a physical length.

Parameters

value OfficeIMO.OfficeLength? required
The value.

Returns

PowerPointParagraphScope The same scope.
public PowerPointParagraphScope Strikethrough(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.

Parameters

strikethrough bool = true optional
The value.

Returns

PowerPointParagraphScope The same scope.
public PowerPointParagraphScope TabStops(IEnumerable<PowerPointTabStop> tabStops) #

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

Parameters

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

Returns

PowerPointParagraphScope The same scope.
public PowerPointParagraphScope Text(string text, Action<PowerPointTextRunScope>? configure = null) #

Appends text as a new run and returns that run. Formatting the returned run formats only that text; line breaks in text stay part of the same run.

Parameters

text string required
The value.
configure System.Action<OfficeIMO.PowerPoint.PowerPointTextRunScope>? = null optional
Configures the new item through its scope.

Returns

PowerPointParagraphScope The same scope.
public PowerPointParagraphScope Underline(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.

Parameters

underline bool = true optional
The value.

Returns

PowerPointParagraphScope The same scope.

Properties

public PowerPointParagraph Model { get; } #

The PowerPointParagraph this scope edits, for plain C# inside a lambda.