GemBox.Presentation
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    TablePartTextStyle Class

    Namespace:
    GemBox.Presentation.Tables
    Assembly:
    GemBox.Presentation.dll

    Represents a set of text-related table style conditional formatting properties.

    • C#
    • VB.NET
    public sealed class TablePartTextStyle
    Public NotInheritable Class TablePartTextStyle
    Inheritance:
    System.Object
    TablePartTextStyle
    Remarks

    Table style conditional formats are applied to different regions of the table and allow you to define all formatting properties (formatting for a table, rows, cells, paragraphs and runs).

    Properties

    Bold

    Gets or sets a value indicating whether a run of text is formatted as bold text.

    Default value is false.

    • C#
    • VB.NET
    public bool Bold { get; set; }
    Public Property Bold As Boolean
    Property Value
    System.Boolean

    true if a run of text is formatted as bold text; otherwise, false.

    Color

    Gets or sets the color.

    • C#
    • VB.NET
    public Color Color { get; set; }
    Public Property Color As Color
    Property Value
    Color

    The color.

    Font

    Gets or sets the font to be used on characters within a given TextElement.

    • C#
    • VB.NET
    public string Font { get; set; }
    Public Property Font As String
    Property Value
    System.String

    The font to be used on characters within a given TextElement.

    Exceptions
    System.ArgumentException

    Value is null or System.String.Empty.

    Italic

    Gets or sets a value indicating whether a run of text is formatted as italic text.

    Default value is false.

    • C#
    • VB.NET
    public bool Italic { get; set; }
    Public Property Italic As Boolean
    Property Value
    System.Boolean

    true if a run of text is formatted as italic text; otherwise, false.

    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.