Class RenderingFont

Class RenderingFont

Namespace: Aspose.Cells.Rendering
Assembly: Aspose.Cells.dll (25.2.0)

Font for rendering.

public class RenderingFont

Inheritance

objectRenderingFont

Inherited Members

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

Constructors

RenderingFont(string, float)

Initializes a new instance of the Aspose.Cells.Rendering.RenderingFont

public RenderingFont(string fontName, float fontSize)

Parameters

fontName string

font name

fontSize float

font size in points

Properties

Bold

Gets or sets bold for the font.

public bool Bold { get; set; }

Property Value

bool

Color

Gets or sets color for the font.

public Color Color { get; set; }

Property Value

Color

Italic

Gets or sets italic for the font.

public bool Italic { get; set; }

Property Value

bool

Name

Gets name of the font.

public string Name { get; }

Property Value

string

Size

Gets size of the font in points.

public float Size { get; }

Property Value

float