Xamarin.iOS Documentation | ComponentOne
C1.iOS.Viewer Assembly / C1.iOS.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 CoreText.CTFont for a given GrapeCity.Documents.Text.Font.
    Syntax
    'Declaration
     
    
    Public Overloads Function GetFont( _
       ByVal font As GrapeCity.Documents.Text.Font _
    ) As CoreText.CTFont
    'Usage
     
    
    Dim instance As FontCache
    Dim font As GrapeCity.Documents.Text.Font
    Dim value As CoreText.CTFont
     
    value = instance.GetFont(font)
    public CoreText.CTFont GetFont( 
       GrapeCity.Documents.Text.Font font
    )

    Parameters

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

    Return Value

    The resulting CoreText.CTFont.
    See Also