• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class RangeFont

Provides access to font formatting properties for a range of cells.

Inheritance
object
RangeFont
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Spreadsheet
Assembly: DRIT.Spreadsheet.dll
Syntax
public class RangeFont
Remarks

RangeFont is obtained through the Font property and allows getting and setting font properties for an entire range.

Properties

Bold

Gets or sets whether the font is bold.

Declaration
public bool? Bold { get; set; }
Property Value
Type Description
bool?
Remarks

RangeFont is obtained through the Font property and allows getting and setting font properties for an entire range.

Family

Specifies the font family name (e.g., "Arial", "Calibri").

Declaration
public string Family { get; set; }
Property Value
Type Description
string
Remarks

RangeFont is obtained through the Font property and allows getting and setting font properties for an entire range.

Italic

Gets or sets whether the font is italic.

Declaration
public bool? Italic { get; set; }
Property Value
Type Description
bool?
Remarks

RangeFont is obtained through the Font property and allows getting and setting font properties for an entire range.

Name

Specifies the font family name (e.g., "Arial", "Calibri").

Declaration
public string Name { get; set; }
Property Value
Type Description
string
Remarks

RangeFont is obtained through the Font property and allows getting and setting font properties for an entire range.

Size

Specifies the font size in points.

Declaration
public double? Size { get; set; }
Property Value
Type Description
double?
Remarks

RangeFont is obtained through the Font property and allows getting and setting font properties for an entire range.

SpreadsheetColor

Specifies the font color.

Declaration
public SpreadsheetColor SpreadsheetColor { get; set; }
Property Value
Type Description
SpreadsheetColor
Remarks

RangeFont is obtained through the Font property and allows getting and setting font properties for an entire range.

Underline

Specifies the underline style.

Declaration
public UnderlineType? Underline { get; set; }
Property Value
Type Description
UnderlineType?
Remarks

RangeFont is obtained through the Font property and allows getting and setting font properties for an entire range.

Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX