Document Solutions for Imaging
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Text Namespace / FontCollection Class / ChooseFallbackFont Method
The code point (in UTF-32 format) missing in the source font.
The source font to be replaced by a fallback font.
Indicates if the font should be bold.
Indicates if the font should contain italic characters.
Indicates if the font should be vertical.
Indicates if the searched font should support embedding.
Indicates if the linked EUDC fonts can be searched as well.

In This Topic
    ChooseFallbackFont Method (FontCollection)
    In This Topic
    Searches for a fallback font containing the given code point that looks similar to the source font.
    Syntax
    'Declaration
     
    Public Function ChooseFallbackFont( _
       ByVal codePoint As System.Integer, _
       ByVal baseFont As Font, _
       ByVal bold As System.Boolean, _
       ByVal italic As System.Boolean, _
       Optional ByVal vertical As System.Boolean, _
       Optional ByVal embeddable As System.Boolean, _
       Optional ByVal allowEudc As System.Boolean _
    ) As Font
    public Font ChooseFallbackFont( 
       System.int codePoint,
       Font baseFont,
       System.bool bold,
       System.bool italic,
       System.bool vertical,
       System.bool embeddable,
       System.bool allowEudc
    )

    Parameters

    codePoint
    The code point (in UTF-32 format) missing in the source font.
    baseFont
    The source font to be replaced by a fallback font.
    bold
    Indicates if the font should be bold.
    italic
    Indicates if the font should contain italic characters.
    vertical
    Indicates if the font should be vertical.
    embeddable
    Indicates if the searched font should support embedding.
    allowEudc
    Indicates if the linked EUDC fonts can be searched as well.

    Return Value

    Fallback Font or null.
    See Also