Class TableTextStyle
Namespace: Aspose.Tasks.Visualization
Assembly: Aspose.Tasks.dll (25.4.0)
Represents a text style in a view table.
public class TableTextStyle : TextStyle
Inheritance
object ← TextStyle ← TableTextStyle
Inherited Members
TextStyle.Font , TextStyle.Color , TextStyle.ItemType , TextStyle.BackgroundPattern , TextStyle.BackgroundColor , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
TableTextStyle(int)
Initializes a new instance of the Aspose.Tasks.Visualization.TableTextStyle class.
public TableTextStyle(int rowUid)
Parameters
rowUid
int
A specified row unique id.
TableTextStyle(int, FontDescriptor)
Initializes a new instance of the Aspose.Tasks.Visualization.TableTextStyle class with the specified font.
public TableTextStyle(int rowUid, FontDescriptor font)
Parameters
rowUid
int
A specified row unique id.
font
FontDescriptor
A font on which a text style is based on.
TableTextStyle(int, float, FontStyles)
Initializes a new instance of the Aspose.Tasks.Visualization.TableTextStyle class with the specified font size and font style.
public TableTextStyle(int rowUid, float fontSize, FontStyles fontStyle)
Parameters
rowUid
int
A specified row unique id.
fontSize
float
Size of a font on which a text style is based on.
fontStyle
FontStyles
Style of a font on which a text style is based on.
TableTextStyle(int, FontStyles)
Initializes a new instance of the Aspose.Tasks.Visualization.TableTextStyle class with the default font settings and the specified font style.
public TableTextStyle(int rowUid, FontStyles fontStyle)
Parameters
rowUid
int
A specified row unique id.
fontStyle
FontStyles
Style of a font on which a text style is based on.
Properties
Field
Gets or sets a field the style is to be applied to. Aspose.Tasks.Visualization.TableTextStyle.Field.
public Field Field { get; set; }
Property Value
ItemType
Gets or sets Aspose.Tasks.Visualization.TextItemType of the text style.
public override TextItemType ItemType { get; }
Property Value
RowUid
Gets a row unique id.
public int RowUid { get; }