[]
        
(Showing Draft Content)

C1.Util.FontSubSet.TextFormat.ScriptCodeToTag

ScriptCodeToTag Method

ScriptCodeToTag(ScriptCode, bool)

Converts a ScriptCode value to the corresponding FontSubSet.ScriptTag.

Declaration
public static FontSubSet.ScriptTag ScriptCodeToTag(ScriptCode scriptCode, bool useOldTags = false)
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
FontSubSet.ScriptTag

The converted FontSubSet.ScriptTag value.