Search Results for

    Show / Hide Table of Contents

    Class Style

    Inherits from TextStyle and provides additional styling options for text within IronWord documents.

    Inheritance
    System.Object
    DocumentStyle
    Style
    Implements
    System.ICloneable
    Inherited Members
    DocumentStyle.Status
    DocumentStyle.SetNoChangeStatusAsUpdated()
    DocumentStyle.StyleId
    Namespace: IronWord.Models
    Assembly: IronWord.dll
    Syntax
    public class Style : DocumentStyle, ICloneable

    Constructors

    Style()

    Declaration
    public Style()

    Properties

    BasedOn

    Gets or sets the name of the style this style is based on.

    Declaration
    public string BasedOn { get; set; }
    Property Value
    Type Description
    System.String

    IsPrimaryStyle

    Gets or sets a value indicating whether this style is the primary style.

    Declaration
    public Nullable<bool> IsPrimaryStyle { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Boolean>

    NextParagraphStyle

    Gets or sets the name of the style to be applied to the next paragraph.

    Declaration
    public string NextParagraphStyle { get; set; }
    Property Value
    Type Description
    System.String

    ParagraphStyle

    Gets or sets the paragraph formatting properties of the style.

    Declaration
    public ParagraphStyle ParagraphStyle { get; set; }
    Property Value
    Type Description
    ParagraphStyle

    StyleName

    Gets or sets the name of the style.

    Declaration
    public string StyleName { get; set; }
    Property Value
    Type Description
    System.String

    StyleType

    Gets or sets the type of the style.

    Declaration
    public Nullable<StyleValues> StyleType { get; set; }
    Property Value
    Type Description
    System.Nullable<StyleValues>

    TextStyle

    Gets or sets the text formatting properties of the style.

    Declaration
    public TextStyle TextStyle { get; set; }
    Property Value
    Type Description
    TextStyle

    Methods

    Clone()

    Declaration
    public override object Clone()
    Returns
    Type Description
    System.Object
    Overrides
    DocumentStyle.Clone()

    Implements

    System.ICloneable

    Inherited members

    Status
    SetNoChangeStatusAsUpdated()
    StyleId
    ☀
    ☾
    Downloads
    • Download with NuGet
    • Start for Free
    In This Article
    Back to top
    Install with NuGet
    Want to deploy IronWord 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 IronWord free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.