API Reference
PowerPointParagraphStyle
Defines paragraph formatting that can be applied to text boxes.
Inheritance
- ValueType
- PowerPointParagraphStyle
Usage
Explore 13 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 12
- Method PowerPointParagraphStyle.WithAlignment
- Method PowerPointParagraphStyle.WithHangingPoints
- Method PowerPointParagraphStyle.WithIndentPoints
- Method PowerPointParagraphStyle.WithLeftMarginPoints
- Method PowerPointParagraphStyle.WithLevel
- Method PowerPointParagraphStyle.WithLineSpacingMultiplier
- Method PowerPointParagraphStyle.WithLineSpacingPoints
- Method PowerPointParagraphStyle.WithSpaceAfterPoints
- Method PowerPointParagraphStyle.WithSpaceBeforePoints
- Property PowerPointParagraphStyle.Comfortable
- Property PowerPointParagraphStyle.Compact
- Property PowerPointParagraphStyle.Spacious
Accepted by parameters 1
Constructors
public PowerPointParagraphStyle(PowerPointTextAlignment? alignment = null, Int32? level = null, Double? indentPoints = null, Double? leftMarginPoints = null, Double? hangingPoints = null, Double? lineSpacingPoints = null, Double? lineSpacingMultiplier = null, Double? spaceBeforePoints = null, Double? spaceAfterPoints = null) #Creates a new paragraph style instance.
Parameters
- alignment OfficeIMO.PowerPoint.PowerPointTextAlignment? = null
- level System.Int32? = null
- indentPoints System.Double? = null
- leftMarginPoints System.Double? = null
- hangingPoints System.Double? = null
- lineSpacingPoints System.Double? = null
- lineSpacingMultiplier System.Double? = null
- spaceBeforePoints System.Double? = null
- spaceAfterPoints System.Double? = null
Methods
public Void Apply(PowerPointParagraph paragraph) #VoidApplies the style to a paragraph.
Parameters
- paragraph OfficeIMO.PowerPoint.PowerPointParagraph
public PowerPointParagraphStyle WithAlignment(PowerPointTextAlignment alignment) #PowerPointParagraphStyleReturns a copy with a new alignment.
Parameters
- alignment OfficeIMO.PowerPoint.PowerPointTextAlignment
public PowerPointParagraphStyle WithHangingPoints(Double? hangingPoints) #PowerPointParagraphStyleReturns a copy with a new hanging indent value (points).
Parameters
- hangingPoints System.Double?
public PowerPointParagraphStyle WithIndentPoints(Double? indentPoints) #PowerPointParagraphStyleReturns a copy with a new indentation value (points).
Parameters
- indentPoints System.Double?
public PowerPointParagraphStyle WithLeftMarginPoints(Double? leftMarginPoints) #PowerPointParagraphStyleReturns a copy with a new left margin value (points).
Parameters
- leftMarginPoints System.Double?
public PowerPointParagraphStyle WithLevel(Int32 level) #PowerPointParagraphStyleReturns a copy with a new list level.
Parameters
- level System.Int32
public PowerPointParagraphStyle WithLineSpacingMultiplier(Double? lineSpacingMultiplier) #PowerPointParagraphStyleReturns a copy with a new line spacing multiplier.
Parameters
- lineSpacingMultiplier System.Double?
public PowerPointParagraphStyle WithLineSpacingPoints(Double? lineSpacingPoints) #PowerPointParagraphStyleReturns a copy with a new line spacing value (points).
Parameters
- lineSpacingPoints System.Double?
public PowerPointParagraphStyle WithSpaceAfterPoints(Double? spaceAfterPoints) #PowerPointParagraphStyleReturns a copy with a new space after value (points).
Parameters
- spaceAfterPoints System.Double?
public PowerPointParagraphStyle WithSpaceBeforePoints(Double? spaceBeforePoints) #PowerPointParagraphStyleReturns a copy with a new space before value (points).
Parameters
- spaceBeforePoints System.Double?
Inherited Methods
public override Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public PowerPointTextAlignment? Alignment { get; } #Paragraph alignment.
public Double? LineSpacingMultiplier { get; } #Line spacing multiplier (1.0 = 100%).
public Double? SpaceBeforePoints { get; } #Space before the paragraph in points.
public Double? SpaceAfterPoints { get; } #Space after the paragraph in points.
public static PowerPointParagraphStyle Compact { get; } #A compact paragraph preset.
public static PowerPointParagraphStyle Comfortable { get; } #A comfortable paragraph preset.
public static PowerPointParagraphStyle Spacious { get; } #A spacious paragraph preset.