Search Results for

    Show / Hide Table of Contents

    Class TableStyle

    Represents the style properties of a table.

    Inheritance
    System.Object
    TableStyle
    Implements
    ITableStyle
    IronSoftware.Abstractions.Word.ITableStyle
    IDerivedStyle
    IronSoftware.Abstractions.Word.IDerivedStyle
    IronSoftware.Abstractions.Word.IStyle
    IronSoftware.Abstractions.Word.IWordDocumentObjectProperty
    IronSoftware.Abstractions.IDocumentObjectProperty
    Namespace: IronWord.Models
    Assembly: IronWord.dll
    Syntax
    public class TableStyle : Object, ITableStyle, ITableStyle, IDerivedStyle, IDerivedStyle, IStyle, IWordDocumentObjectProperty, IDocumentObjectProperty
    Remarks

    Corresponds to the TableProperties (w:tblPr) of OpenXML.

    Constructors

    TableStyle()

    Initializes a new instance of TableStyle.

    Declaration
    public TableStyle()

    Properties

    BaseStyle

    The original base style definition a style is based off of.

    Declaration
    public IBaseStyle BaseStyle { get; }
    Property Value
    Type Description
    IBaseStyle

    Borders

    The borders for the table.

    Declaration
    public TableBorders Borders { get; set; }
    Property Value
    Type Description
    TableBorders

    BottomCellMargin

    Declaration
    public Nullable<uint> BottomCellMargin { get; set; }
    Property Value
    Type Description
    System.Nullable<System.UInt32>

    InheritedStyle

    Table style this style inherits from.

    Declaration
    public ITableStyle InheritedStyle { get; }
    Property Value
    Type Description
    ITableStyle

    Justification

    Declaration
    public Nullable<JustificationValues> Justification { get; set; }
    Property Value
    Type Description
    System.Nullable<IronSoftware.Abstractions.Word.JustificationValues>

    LeftCellMargin

    Declaration
    public Nullable<uint> LeftCellMargin { get; set; }
    Property Value
    Type Description
    System.Nullable<System.UInt32>

    RightCellMargin

    Declaration
    public Nullable<uint> RightCellMargin { get; set; }
    Property Value
    Type Description
    System.Nullable<System.UInt32>

    TopCellMargin

    Declaration
    public Nullable<uint> TopCellMargin { get; set; }
    Property Value
    Type Description
    System.Nullable<System.UInt32>

    Width

    Declaration
    public Nullable<long> Width { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int64>

    Implements

    ITableStyle
    IronSoftware.Abstractions.Word.ITableStyle
    IDerivedStyle
    IronSoftware.Abstractions.Word.IDerivedStyle
    IronSoftware.Abstractions.Word.IStyle
    IronSoftware.Abstractions.Word.IWordDocumentObjectProperty
    IronSoftware.Abstractions.IDocumentObjectProperty
    ☀
    ☾
    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.