Documents for PDF .NET Edition
GrapeCity.Documents.Common Assembly / GrapeCity.Documents.Text Namespace / IFontCollection Interface / 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 embolded.
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 (IFontCollection)
    In This Topic
    Searches for a fallback font containing the given code point that looks similar to the source font.
    Syntax
    'Declaration
     
    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
    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 embolded.
    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