Xamarin.Android | ComponentOne
C1.Android.Viewer Assembly / C1.Android.Viewer Namespace / FontCache Class / GetFont Method / GetFont(Font) Method
The source GrapeCity.Documents.Text.Font object.


In This Topic
    GetFont(Font) Method
    In This Topic
    Gets an instance of the Android.Graphics.Typeface for a given GrapeCity.Documents.Text.Font.
    Syntax
    'Declaration
     
    
    Public Overloads Function GetFont( _
       ByVal font As GrapeCity.Documents.Text.Font _
    ) As Android.Graphics.Typeface
    'Usage
     
    
    Dim instance As FontCache
    Dim font As GrapeCity.Documents.Text.Font
    Dim value As Android.Graphics.Typeface
     
    value = instance.GetFont(font)
    public Android.Graphics.Typeface GetFont( 
       GrapeCity.Documents.Text.Font font
    )

    Parameters

    font
    The source GrapeCity.Documents.Text.Font object.

    Return Value

    The resulting Android.Graphics.Typeface.
    See Also