Struct FontStyle
Structure that describes the style of a font, such as Normal, Italic or Oblique.
Inherited Members
Namespace: Telerik.Documents.Core.Fonts
Assembly: Telerik.Windows.Documents.Core.dll
Syntax
public struct FontStyle
Constructors
FontStyle(Int32)
Initializes a new instance of FontStyle struct.
Declaration
public FontStyle(int styleId)
Parameters
System.Int32
styleId
|
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
|
Returns
System.Boolean
|
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
System.Int32
|
Overrides
Operators
Equality(FontStyle, FontStyle)
Checks whether two font style objects are equal.
Declaration
public static bool operator ==(FontStyle fs1, FontStyle fs2)
Parameters
FontStyle
fs1
First object to compare. |
FontStyle
fs2
Second object to compare. |
Returns
System.Boolean
Returns true when the font style values are equal for both objects, and false otherwise. |
Inequality(FontStyle, FontStyle)
Checks whether two font style objects are not equal.
Declaration
public static bool operator !=(FontStyle fs1, FontStyle fs2)
Parameters
FontStyle
fs1
First object to compare. |
FontStyle
fs2
Second object to compare. |
Returns
System.Boolean
Returns false when the font style values are equal for both objects, and true otherwise. |