PowerPointParagraphScope
OfficeIMO.PowerPoint
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.
Returned or exposed by 25
- Method PowerPointParagraphScope.Alignment
- Method PowerPointParagraphScope.BackgroundColor
- Method PowerPointParagraphScope.Bold
- Method PowerPointParagraphScope.Bullet
- Method PowerPointParagraphScope.BulletFontFamily
- Method PowerPointParagraphScope.BulletSize
- Method PowerPointParagraphScope.BulletSizePercent
- Method PowerPointParagraphScope.Color
- Method PowerPointParagraphScope.FontFamily
- Method PowerPointParagraphScope.FontSize
- Method PowerPointParagraphScope.Hanging
- Method PowerPointParagraphScope.Indent
- Method PowerPointParagraphScope.Italic
- Method PowerPointParagraphScope.LeftMargin
- Method PowerPointParagraphScope.Level
- Method PowerPointParagraphScope.LineSpacing
- Method PowerPointParagraphScope.LineSpacingMultiplier
- Method PowerPointParagraphScope.Numbered
- Method PowerPointParagraphScope.RightToLeft
- Method PowerPointParagraphScope.SpaceAfter
- Method PowerPointParagraphScope.SpaceBefore
- Method PowerPointParagraphScope.Strikethrough
- Method PowerPointParagraphScope.TabStops
- Method PowerPointParagraphScope.Text
- Method PowerPointParagraphScope.Underline
Accepted by parameters 3
Methods
public PowerPointParagraphScope Alignment(PowerPointTextAlignment alignment) #Sets paragraph alignment and returns the paragraph for chaining.
Parameters
- alignment OfficeIMO.PowerPoint.PowerPointTextAlignment
- The value.
public PowerPointParagraphScope Alignment(PowerPointTextAlignment? value) #Sets PowerPointParagraph.Alignment: Gets or sets paragraph alignment.
Parameters
- value OfficeIMO.PowerPoint.PowerPointTextAlignment?
- The value.
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
- The value.
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
- The value.
public PowerPointParagraphScope Bullet(char bulletChar = '•') #Applies a character bullet to the paragraph.
Parameters
- bulletChar char = '•'
- The value.
public PowerPointParagraphScope BulletFontFamily(string fontFamily) #Sets the bullet font and returns the paragraph for chaining.
Parameters
- fontFamily string
- The value.
public PowerPointParagraphScope BulletSize(OfficeLength size) #Sets the bullet size and returns the paragraph for chaining.
Parameters
- size OfficeIMO.OfficeLength
- The value.
public PowerPointParagraphScope BulletSize(OfficeLength? value) #Sets PowerPointParagraph.BulletSize: Gets or sets the bullet size as a physical length.
Parameters
- value OfficeIMO.OfficeLength?
- The value.
public PowerPointParagraphScope BulletSizePercent(int percent) #Sets the bullet size in percent (100 = 100%) and returns the paragraph for chaining.
Parameters
- percent int
- The value.
public PowerPointParagraphScope BulletSizePercent(int? value) #Sets PowerPointParagraph.BulletSizePercent: Gets or sets the bullet size in percent (100 = 100%).
Parameters
- value int?
- The value.
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
- The value.
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
- The value.
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
- The value.
public PowerPointParagraphScope Hanging(OfficeLength value) #Sets a hanging indent and returns the paragraph for chaining.
Parameters
- value OfficeIMO.OfficeLength
- The value.
public PowerPointParagraphScope Indent(OfficeLength value) #Sets indentation and returns the paragraph for chaining.
Parameters
- value OfficeIMO.OfficeLength
- The value.
public PowerPointParagraphScope Indent(OfficeLength? value) #Sets PowerPointParagraph.Indent: Gets or sets paragraph indentation as a physical length.
Parameters
- value OfficeIMO.OfficeLength?
- The value.
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
- The value.
public PowerPointParagraphScope LeftMargin(OfficeLength value) #Sets left margin and returns the paragraph for chaining.
Parameters
- value OfficeIMO.OfficeLength
- The value.
public PowerPointParagraphScope LeftMargin(OfficeLength? value) #Sets PowerPointParagraph.LeftMargin: Gets or sets paragraph left margin as a physical length.
Parameters
- value OfficeIMO.OfficeLength?
- The value.
public PowerPointParagraphScope Level(int level) #Sets the bullet/list level and returns the paragraph for chaining.
Parameters
- level int
- The value.
public PowerPointParagraphScope Level(int? value) #Sets PowerPointParagraph.Level: Gets or sets the bullet/list level (0-8).
Parameters
- value int?
- The value.
public PowerPointParagraphScope LineSpacing(OfficeLength value) #Sets line spacing and returns the paragraph for chaining.
Parameters
- value OfficeIMO.OfficeLength
- The value.
public PowerPointParagraphScope LineSpacing(OfficeLength? value) #Sets PowerPointParagraph.LineSpacing: Gets or sets line spacing as a physical length.
Parameters
- value OfficeIMO.OfficeLength?
- The value.
public PowerPointParagraphScope LineSpacingMultiplier(double multiplier) #Sets line spacing as a multiplier (1.0 = 100%) and returns the paragraph for chaining.
Parameters
- multiplier double
- The value.
public PowerPointParagraphScope LineSpacingMultiplier(double? value) #Sets PowerPointParagraph.LineSpacingMultiplier: Gets or sets line spacing as a multiplier (1.0 = 100%).
Parameters
- value double?
- The value.
public PowerPointParagraphScope Numbered(PowerPointNumberingScheme style, int startAt = 1) #Applies an auto-numbered bullet to the paragraph.
Parameters
- style OfficeIMO.PowerPoint.PowerPointNumberingScheme
- The value.
- startAt int = 1
- The value.
public PowerPointParagraphScope Numbered(PowerPointNumberingScheme style) #Applies an auto-numbered bullet to the paragraph without resetting the start value.
Parameters
- style OfficeIMO.PowerPoint.PowerPointNumberingScheme
- The value.
public PowerPointParagraphScope Numbered(int startAt = 1) #Applies a default auto-numbered bullet (Arabic period) to the paragraph.
Parameters
- startAt int = 1
- The value.
public PowerPointParagraphScope RightToLeft(bool? value = true) #Sets PowerPointParagraph.RightToLeft: Gets or sets the explicit right-to-left paragraph direction.
Parameters
- value bool? = true
- The value; true when omitted.
public PowerPointParagraphScope SpaceAfter(OfficeLength value) #Sets space after the paragraph and returns the paragraph for chaining.
Parameters
- value OfficeIMO.OfficeLength
- The value.
public PowerPointParagraphScope SpaceAfter(OfficeLength? value) #Sets PowerPointParagraph.SpaceAfter: Gets or sets space after the paragraph as a physical length.
Parameters
- value OfficeIMO.OfficeLength?
- The value.
public PowerPointParagraphScope SpaceBefore(OfficeLength value) #Sets space before the paragraph and returns the paragraph for chaining.
Parameters
- value OfficeIMO.OfficeLength
- The value.
public PowerPointParagraphScope SpaceBefore(OfficeLength? value) #Sets PowerPointParagraph.SpaceBefore: Gets or sets space before the paragraph as a physical length.
Parameters
- value OfficeIMO.OfficeLength?
- The value.
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
- The value.
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>
- The value.
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
- The value.
- configure System.Action<OfficeIMO.PowerPoint.PowerPointTextRunScope>? = null
- Configures the new item through its 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
- The value.
Inherited Methods
Properties
public PowerPointParagraph Model { get; } #The PowerPointParagraph this scope edits, for plain C# inside a lambda.