GemBox.Document
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    CharacterFonts Class

    Namespace:
    GemBox.Document
    Assembly:
    GemBox.Document.dll

    Represents the detailed description of fonts which shall be used to display the text of the run.

    • C#
    • VB.NET
    public sealed class CharacterFonts
    Public NotInheritable Class CharacterFonts
    Inheritance:
    System.Object
    CharacterFonts

    Properties

    FontNameAscii

    Gets or sets the name of the font which shall be used to format all characters in the Unicode code point range (U+0000–U+007F) within the text of the run.

    • C#
    • VB.NET
    public string FontNameAscii { get; set; }
    Public Property FontNameAscii As String
    Property Value
    System.String

    The name of the font.

    FontNameComplexScript

    Gets or sets the name of the font which shall be used to format all Complex Script (mainly Arabic) characters within the text of the run.

    • C#
    • VB.NET
    public string FontNameComplexScript { get; set; }
    Public Property FontNameComplexScript As String
    Property Value
    System.String

    The name of the font.

    FontNameEastAsian

    Gets or sets the name of the font which shall be used to format all characters in an East Asian Unicode code point range within the text of the run.

    • C#
    • VB.NET
    public string FontNameEastAsian { get; set; }
    Public Property FontNameEastAsian As String
    Property Value
    System.String

    The name of the font.

    FontNameHighAnsi

    Gets or sets the name of the font which shall be used to format characters within the text of the run which do not fall into the range specified by FontNameAscii, FontNameEastAsian, or FontNameComplexScript.

    • C#
    • VB.NET
    public string FontNameHighAnsi { get; set; }
    Public Property FontNameHighAnsi As String
    Property Value
    System.String

    The name of the font.

    Methods

    Equals(Object)

    Determines whether the specified System.Object is equal to this CharacterFonts instance.

    • C#
    • VB.NET
    public override bool Equals(object obj)
    Public Overrides Function Equals(obj As Object) As Boolean
    Parameters
    obj
    System.Object

    The System.Object to compare with this fonts instance.

    Returns
    System.Boolean

    true if the specified System.Object is a CharacterFonts and is equal to this CharacterFonts instance; otherwise, false.

    Overrides
    System.Object.Equals(System.Object)

    GetHashCode()

    Returns a hash code for this CharacterFonts instance.

    • C#
    • VB.NET
    public override int GetHashCode()
    Public Overrides Function GetHashCode As Integer
    Returns
    System.Int32

    An integer value that specifies a hash value for this CharacterFonts instance.

    Overrides
    System.Object.GetHashCode()

    Operators

    Equality(CharacterFonts, CharacterFonts)

    Determines whether first and second CharacterFontss are equal.

    • C#
    • VB.NET
    public static bool operator ==(CharacterFonts first, CharacterFonts second)
    Public Shared Operator =(first As CharacterFonts, second As CharacterFonts) As Boolean
    Parameters
    first
    CharacterFonts

    The first fonts.

    second
    CharacterFonts

    The second fonts.

    Returns
    System.Boolean

    true if first and second fonts are equal; otherwise, false.

    Inequality(CharacterFonts, CharacterFonts)

    Determines whether first and second CharacterFontss are not equal.

    • C#
    • VB.NET
    public static bool operator !=(CharacterFonts first, CharacterFonts second)
    Public Shared Operator <>(first As CharacterFonts, second As CharacterFonts) As Boolean
    Parameters
    first
    CharacterFonts

    The first fonts.

    second
    CharacterFonts

    The second fonts.

    Returns
    System.Boolean

    true if first and second fonts are not equal; otherwise, false.

    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.