PowerPointParagraphFluent
OfficeIMO.PowerPoint
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
public static TSelf Alignment<TSelf>(TSelf powerPointParagraph, PowerPointTextAlignment alignment) #Sets paragraph alignment and returns the paragraph for chaining.
Type Parameters
- TSelf
Parameters
- powerPointParagraph TSelf
- The instance.
- alignment OfficeIMO.PowerPoint.PowerPointTextAlignment
- 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
- The instance.
- value OfficeIMO.PowerPoint.PowerPointTextAlignment?
- 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
- The instance.
- color OfficeIMO.OfficeColor
- 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
- The instance.
- isBold bool = true
- 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
- The instance.
- fontFamily string
- The value.
Returns
TSelf The same instance.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
- The instance.
- percent int
- 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
- The instance.
- value int?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointParagraph.BulletSizePercent = value; powerPointParagraph.BulletSizePercent(value);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
- The instance.
- size OfficeIMO.OfficeLength
- 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
- The instance.
- value OfficeIMO.OfficeLength?
- 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
- The instance.
- bulletChar char = '•'
- 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
- The instance.
- color OfficeIMO.OfficeColor
- 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
- The instance.
- fontFamily string
- 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
- The instance.
- size OfficeIMO.OfficeLength
- 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
- The instance.
- value OfficeIMO.OfficeLength
- The value.
Returns
TSelf The same instance.public static TSelf Indent<TSelf>(TSelf powerPointParagraph, OfficeLength value) #Sets indentation and returns the paragraph for chaining.
Type Parameters
- TSelf
Parameters
- powerPointParagraph TSelf
- The instance.
- value OfficeIMO.OfficeLength
- 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
- The instance.
- value OfficeIMO.OfficeLength?
- 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
- The instance.
- isItalic bool = true
- The value.
Returns
TSelf The same instance.public static TSelf LeftMargin<TSelf>(TSelf powerPointParagraph, OfficeLength value) #Sets left margin and returns the paragraph for chaining.
Type Parameters
- TSelf
Parameters
- powerPointParagraph TSelf
- The instance.
- value OfficeIMO.OfficeLength
- 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
- The instance.
- value OfficeIMO.OfficeLength?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointParagraph.LeftMargin = value; powerPointParagraph.LeftMargin(value);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
- The instance.
- level int
- 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
- The instance.
- value int?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointParagraph.Level = value; powerPointParagraph.Level(value);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
- The instance.
- multiplier double
- 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
- The instance.
- value double?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointParagraph.LineSpacingMultiplier = value; powerPointParagraph.LineSpacingMultiplier(value);public static TSelf LineSpacing<TSelf>(TSelf powerPointParagraph, OfficeLength value) #Sets line spacing and returns the paragraph for chaining.
Type Parameters
- TSelf
Parameters
- powerPointParagraph TSelf
- The instance.
- value OfficeIMO.OfficeLength
- 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
- The instance.
- value OfficeIMO.OfficeLength?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointParagraph.LineSpacing = value; powerPointParagraph.LineSpacing(value);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
- The instance.
- style OfficeIMO.PowerPoint.PowerPointNumberingScheme
- The value.
- startAt int = 1
- 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
- The instance.
- style OfficeIMO.PowerPoint.PowerPointNumberingScheme
- 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
- The instance.
- startAt int = 1
- 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
- The instance.
- value bool? = true
- The value; true when omitted.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointParagraph.RightToLeft = value; powerPointParagraph.RightToLeft(value);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
- The instance.
- value OfficeIMO.OfficeLength
- 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
- The instance.
- value OfficeIMO.OfficeLength?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointParagraph.SpaceAfter = value; powerPointParagraph.SpaceAfter(value);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
- The instance.
- value OfficeIMO.OfficeLength
- 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
- The instance.
- value OfficeIMO.OfficeLength?
- 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
- The instance.
- strikethrough bool = true
- 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
- The instance.
- tabStops System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointTabStop>
- 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
- The instance.
- text string
- 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
- The instance.
- underline bool = true
- The value.
Returns
TSelf The same instance.