Class Paragraph
Inheritance
System.Object
Paragraph
Assembly: IronPPT.dll
Syntax
public class Paragraph : ParentElement, ICloneableElement, IParentElement, ITextContainer, IHasTextStyle, IParagraph, IContentElement, IHasParagraphStyle
Constructors
Paragraph()
Declaration
Paragraph(IContentElement[])
Declaration
public Paragraph(params IContentElement[] children)
Parameters
Properties
Alignment
Declaration
public TextAlignment Alignment { get; set; }
Property Value
Style
Declaration
public IParagraphStyle Style { get; set; }
Property Value
Texts
Declaration
public List<IText> Texts { get; }
Property Value
Type |
Description |
System.Collections.Generic.List<IText> |
|
TextStyle
Declaration
public ITextStyle TextStyle { get; set; }
Property Value
Methods
AddChild(IContentElement[])
Declaration
public override void AddChild(params IContentElement[] children)
Parameters
Overrides
AddText(IText)
Declaration
public IText AddText(IText text)
Parameters
Type |
Name |
Description |
IText |
text |
|
Returns
AddText(String)
Declaration
public IText AddText(string text)
Parameters
Type |
Name |
Description |
System.String |
text |
|
Returns
Clone()
Declaration
public override IContentElement Clone()
Returns
Overrides
SetAlignment(TextAlignment)
Declaration
public IParagraph SetAlignment(TextAlignment alignment)
Parameters
Returns
SetStyle(IParagraphStyle)
Declaration
public IParagraph SetStyle(IParagraphStyle style)
Parameters
Returns
Implements