Table of Contents

Struct Stylings

Namespace
FileFormat.Slides.Common
Assembly
FileFormat.Slides.Common.dll

Represents the stylings applied to text elements.

public struct Stylings
Inherited Members

Constructors

Stylings(int, TextAlignment, string, string)

Initializes a new instance of the Stylings struct with default values.

public Stylings(int fontSize = 12, TextAlignment alignment = TextAlignment.Left, string fontFamily = "Calibri", string textColor = "#000000")

Parameters

fontSize int

The font size (default is 12).

alignment TextAlignment

The text alignment (default is TextAlignment.Left).

fontFamily string

The font family (default is "Calibri").

textColor string

The text color in hexadecimal format (default is "#000000").

Properties

Alignment

Gets or sets the text alignment.

public TextAlignment Alignment { get; set; }

Property Value

TextAlignment

FontFamily

Gets or sets the font family.

public string FontFamily { get; set; }

Property Value

string

FontSize

Gets or sets the font size.

public int FontSize { get; set; }

Property Value

int

TextColor

Gets or sets the text color in hexadecimal format.

public string TextColor { get; set; }

Property Value

string