TreeView for WinForms | ComponentOne
C1.Util Namespace / FontSubSet.TextFormat Class / ScriptCodeToTag Method
A ScriptCode value to convert.
Indicates whether the following scripts should be converted to old tags: Bengali, Devanagari, Gujarati, Gurmukhi, Kannada, Malayalam, Myanmar, Odia, Tamil, Telugu.

In This Topic
    ScriptCodeToTag Method (FontSubSet.TextFormat)
    In This Topic
    Converts a ScriptCode value to the corresponding FontSubSet.ScriptTag.
    Syntax
    'Declaration
     
    
    Public Shared Function ScriptCodeToTag( _
       ByVal scriptCode As ScriptCode, _
       Optional ByVal useOldTags As Boolean _
    ) As FontSubSet.ScriptTag
    public static FontSubSet.ScriptTag ScriptCodeToTag( 
       ScriptCode scriptCode,
       bool useOldTags
    )

    Parameters

    scriptCode
    A ScriptCode value to convert.
    useOldTags
    Indicates whether the following scripts should be converted to old tags: Bengali, Devanagari, Gujarati, Gurmukhi, Kannada, Malayalam, Myanmar, Odia, Tamil, Telugu.

    Return Value

    The converted FontSubSet.ScriptTag value.
    See Also