Search Results for

    Show / Hide Table of Contents

    Class Paragraph

    Inheritance
    System.Object
    ContentElement
    ParentElement
    Paragraph
    Implements
    ICloneableElement
    IParentElement
    ITextContainer
    IHasTextStyle
    IParagraph
    IContentElement
    IHasParagraphStyle
    Inherited Members
    ParentElement.InsertChildToIndex(Int32, IContentElement[])
    ParentElement.Remove()
    ParentElement.RemoveChildren(IContentElement[])
    ParentElement.RemoveAllChildren()
    ParentElement.ExtractElements<T>()
    ParentElement.GetChildByIndex<T>(Int32)
    ParentElement.CloneElement<T>(T)
    ParentElement.LogObjectTree()
    ParentElement.Children
    ContentElement._Index
    ContentElement.Replace(IContentElement)
    ContentElement.GetIndex()
    ContentElement.CloneObject<T>(T)
    ContentElement.CaptureInitialValues()
    ContentElement.Index
    ContentElement.Parent
    ContentElement.Status
    Namespace: IronPPT.Models
    Assembly: IronPPT.dll
    Syntax
    public class Paragraph : ParentElement, ICloneableElement, IParentElement, ITextContainer, IHasTextStyle, IParagraph, IContentElement, IHasParagraphStyle

    Constructors

    Paragraph()

    Declaration
    public Paragraph()

    Paragraph(IContentElement[])

    Declaration
    public Paragraph(params IContentElement[] children)
    Parameters
    Type Name Description
    IContentElement[] children

    Properties

    Alignment

    Declaration
    public TextAlignment Alignment { get; set; }
    Property Value
    Type Description
    TextAlignment

    Style

    Declaration
    public IParagraphStyle Style { get; set; }
    Property Value
    Type Description
    IParagraphStyle

    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
    Type Description
    ITextStyle

    Methods

    AddChild(IContentElement[])

    Declaration
    public override void AddChild(params IContentElement[] children)
    Parameters
    Type Name Description
    IContentElement[] children
    Overrides
    ParentElement.AddChild(IContentElement[])

    AddText(IText)

    Declaration
    public IText AddText(IText text)
    Parameters
    Type Name Description
    IText text
    Returns
    Type Description
    IText

    AddText(String)

    Declaration
    public IText AddText(string text)
    Parameters
    Type Name Description
    System.String text
    Returns
    Type Description
    IText

    Clone()

    Declaration
    public override IContentElement Clone()
    Returns
    Type Description
    IContentElement
    Overrides
    ParentElement.Clone()

    SetAlignment(TextAlignment)

    Declaration
    public IParagraph SetAlignment(TextAlignment alignment)
    Parameters
    Type Name Description
    TextAlignment alignment
    Returns
    Type Description
    IParagraph

    SetStyle(IParagraphStyle)

    Declaration
    public IParagraph SetStyle(IParagraphStyle style)
    Parameters
    Type Name Description
    IParagraphStyle style
    Returns
    Type Description
    IParagraph

    Implements

    ICloneableElement
    IParentElement
    ITextContainer
    IHasTextStyle
    IParagraph
    IContentElement
    IHasParagraphStyle

    Inherited members

    InsertChildToIndex(Int32, IContentElement[])
    Remove()
    RemoveChildren(IContentElement[])
    RemoveAllChildren()
    ExtractElements<T>()
    GetChildByIndex<T>(Int32)
    CloneElement<T>(T)
    LogObjectTree()
    Children
    _Index
    Replace(IContentElement)
    GetIndex()
    CloneObject<T>(T)
    CaptureInitialValues()
    Index
    Parent
    Status
    ☀
    ☾
    Downloads
    • Download with NuGet
    • Start for Free
    In This Article
    Back to top
    Install with NuGet
    Want to deploy IronPPT to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronPPT free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.