[]
        
(Showing Draft Content)

GrapeCity.Documents.Text.TextFormat.ScriptCodeToTag

ScriptCodeToTag Method

ScriptCodeToTag(ScriptCode, bool)

Converts a ScriptCode value to the corresponding ScriptTag.

Declaration
public static ScriptTag ScriptCodeToTag(ScriptCode scriptCode, bool useOldTags = false)
Public Shared Function ScriptCodeToTag(scriptCode As ScriptCode, Optional useOldTags As Boolean = False) As ScriptTag
Parameters
Type Name Description
ScriptCode scriptCode

A ScriptCode value to convert.

bool useOldTags

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

Returns
Type Description
ScriptTag

The converted ScriptTag value.