Class SpreadThemableFontFamily
Represents a font family which can be used in a theme.
Inheritance
Inherited Members
Namespace: Telerik.Documents.SpreadsheetStreaming
Assembly: Telerik.Documents.SpreadsheetStreaming.dll
Syntax
public class SpreadThemableFontFamily
Constructors
SpreadThemableFontFamily(String)
Initializes a new instance of the SpreadThemableFontFamily class.
Declaration
public SpreadThemableFontFamily(string fontFamily)
Parameters
System.String
fontFamily
The font family name. |
SpreadThemableFontFamily(SpreadThemeFontType)
Initializes a new instance of the SpreadThemableFontFamily class.
Declaration
public SpreadThemableFontFamily(SpreadThemeFontType themeFontType)
Parameters
SpreadThemeFontType
themeFontType
Type of the theme font. |
Properties
IsFromTheme
Gets a value indicating if the font family comes from a theme.
Declaration
public bool IsFromTheme { get; }
Property Value
System.Boolean
The value indicating if the font family comes from a theme. |
LocalValue
Gets the local value of the font family.
Declaration
public string LocalValue { get; }
Property Value
System.String
The local value of the font family. |
ThemeFontType
Gets the type of the theme font.
Declaration
public SpreadThemeFontType ThemeFontType { get; }
Property Value
SpreadThemeFontType
The type of the theme font. |
Methods
Equals(Object)
Determines whether the specified System.Object is equal to the current System.Object.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
The System.Object to compare with the current System.Object. |
Returns
System.Boolean
Returns true if the specified System.Object is equal to the current System.Object; otherwise, false. |
Overrides
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
System.Int32
A hash code for the current System.Object. |
Overrides
ToString()
Returns a string that represents the document themable font family.
Declaration
public override string ToString()
Returns
System.String
A string that represents the document themable font family. |
Overrides
Operators
Equality(SpreadThemableFontFamily, SpreadThemableFontFamily)
Determines whether the specified document themable font families are equal.
Declaration
public static bool operator ==(SpreadThemableFontFamily first, SpreadThemableFontFamily second)
Parameters
SpreadThemableFontFamily
first
|
SpreadThemableFontFamily
second
|
Returns
System.Boolean
True if the document themable font families are equal; otherwise, false. |
Inequality(SpreadThemableFontFamily, SpreadThemableFontFamily)
Determines whether the specified document themable font families are different.
Declaration
public static bool operator !=(SpreadThemableFontFamily first, SpreadThemableFontFamily second)
Parameters
SpreadThemableFontFamily
first
|
SpreadThemableFontFamily
second
|
Returns
System.Boolean
True if the document themable font families are different; otherwise, false. |