Documents for PDF, .NET Edition Documentation
ScriptCodeToTag Method

GrapeCity.Documents.Common 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.
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

Reference

TextFormat Class
TextFormat Members