Document Solutions for PDF
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Text Namespace / 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
    In This Topic
    Converts a ScriptCode value to the corresponding ScriptTag.
    Syntax
    'Declaration
     
    Public Shared Function ScriptCodeToTag( _
       ByVal scriptCode As ScriptCode, _
       Optional ByVal useOldTags As System.Boolean _
    ) As ScriptTag
    public static ScriptTag ScriptCodeToTag( 
       ScriptCode scriptCode,
       System.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 ScriptTag value.
    See Also