Search Results for

    Show / Hide Table of Contents

    Interface ITextStyle

    The styling options for text.

    Inherited Members
    IDerivedStyle.BaseStyle
    Namespace: IronWord.Models
    Assembly: IronWord.dll
    Syntax
    public interface ITextStyle : ITextStyle, IDerivedStyle, IDerivedStyle, IStyle, IWordDocumentObjectProperty, IDocumentObjectProperty

    Properties

    Color

    The color of the text.

    Declaration
    Color Color { get; set; }
    Property Value
    Type Description
    Color

    DefaultStyle

    The default text style.

    Declaration
    ITextStyle DefaultStyle { get; }
    Property Value
    Type Description
    ITextStyle

    Emphasis

    The emphasis mark style applied to the text.

    Declaration
    Nullable<EmphasisMarkValues> Emphasis { get; set; }
    Property Value
    Type Description
    System.Nullable<EmphasisMarkValues>

    Shading

    The background shading applied to the text.

    Declaration
    Shading Shading { get; set; }
    Property Value
    Type Description
    Shading

    Strike

    The strikethrough style applied to the text.

    Declaration
    Nullable<StrikeValue> Strike { get; set; }
    Property Value
    Type Description
    System.Nullable<StrikeValue>

    TextEffect

    The special text effect applied to the text.

    Declaration
    TextEffect TextEffect { get; set; }
    Property Value
    Type Description
    TextEffect

    TextFont

    The font family applied to the text.

    Declaration
    Font TextFont { get; set; }
    Property Value
    Type Description
    Font

    Underline

    The underline style applied to the text.

    Declaration
    Underline Underline { get; set; }
    Property Value
    Type Description
    Underline

    VerticalTextAlignment

    The vertical alignment of the text (superscript, subscript, or baseline).

    Declaration
    Nullable<VerticalPositionValues> VerticalTextAlignment { get; set; }
    Property Value
    Type Description
    System.Nullable<VerticalPositionValues>

    Methods

    Reset()

    Resets all text style properties to their default values.

    Declaration
    TextStyle Reset()
    Returns
    Type Description
    TextStyle

    Inherited members

    BaseStyle
    ☀
    ☾
    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.