Class TextStyle

Class TextStyle

Navne til: Aspose.Tasks.Visualization Sammensætning: Aspose.Tasks.dll (25.4.0)

ndre tekstens visuelle stil for et element i projektudsigtet.

public class TextStyle

Inheritance

object TextStyle

Derived

TableTextStyle

De arvede medlemmer

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

TextStyle()

Initialiserer en ny instans af Aspose.Tasks.Visualization.TextStyle klasse med standardindstillinger.

public TextStyle()

TextStyle(Fløjtøj, FontStyles)

Initialiserer en ny instans af Aspose.Tasks.Visualization.TextStyle klasse med standard font og angivet font størrelse og stil.

public TextStyle(float fontSize, FontStyles fontStyle)

Parameters

fontSize float

Størrelse af tekststil.

fontStyle FontStyles

Stil af font af tekststil.

TextStyle(FontStyles)

Initialiserer en ny instans af Aspose.Tasks.Visualization.TextStyle klasse med standard font og angivet font stil.

public TextStyle(FontStyles fontStyle)

Parameters

fontStyle FontStyles

Stil af font til at anvende til standard font.

TextStyle(FontDescriptor)

Initialiserer en ny instans af Aspose.Tasks.Visualization.TextStyle klasse med de angivne bogstaver indstillinger.

public TextStyle(FontDescriptor font)

Parameters

font FontDescriptor

Forkortet af tekststil.

Properties

BackgroundColor

Få eller indstille baggrundsfarve af tekststil.Optagelse af optagelse af optagelse af optagelse af optagelse af optagelse af optagelse.

public Color BackgroundColor { get; set; }

Ejendomsværdi

Color

BackgroundPattern

Få eller indstille baggrunden mønster af tekststil.Optagelse.Tasks.Visualisering.TextStyle.BackgroundPattern.

public BackgroundPattern BackgroundPattern { get; set; }

Ejendomsværdi

BackgroundPattern

Color

Få eller indsætte farve af teksten.

public Color Color { get; set; }

Ejendomsværdi

Color

Font

Få eller indsætte font af tekststil.

public FontDescriptor Font { get; set; }

Ejendomsværdi

FontDescriptor

ItemType

Få eller indsætte Aspose.Tasks.Visualization.TextItemType af tekststil.

public virtual TextItemType ItemType { get; set; }

Ejendomsværdi

TextItemType

 Dansk