HtmlToRtfSpellingLanguage Enumeration |
Specifies the default language for the output document. Usually the language is used to spell checking.
Namespace: SautinSoftAssembly: SautinSoft.HtmlToRtf (in SautinSoft.HtmlToRtf.dll) Version: 2024.12.12
Syntax public enum SpellingLanguage
Public Enumeration SpellingLanguage
Members Member name | Value | Description |
---|
Arabic_Saudi_Arabia | 1,025 |
Arabic Saudi Arabia
|
Bulgarian | 1,026 |
Bulgarian
|
Catalan | 1,027 |
Catalan
|
Chinese_Taiwan | 1,028 |
Chinese Taiwan
|
Czech | 1,029 |
Czech
|
Danish | 1,030 |
Danish
|
German_Germany | 1,031 |
German Germany
|
Greek | 1,032 |
Greek
|
English_United_States | 1,033 |
English United States
|
Spanish_Traditional_Sort | 1,034 |
Spanish Traditional Sort
|
Finnish | 1,035 |
Finnish
|
French_France | 1,036 |
French France
|
Hebrew | 1,037 |
Hebrew
|
Hungarian | 1,038 |
Hungarian
|
Icelandic | 1,039 |
Icelandic
|
Italian_Italy | 1,040 |
Italian Italy
|
Japanese | 1,041 |
Japanese
|
Korean | 1,042 |
Korean
|
Dutch_Netherlands | 1,043 |
Dutch Netherlands
|
Norwegian_Bokmal | 1,044 |
Norwegian Bokmal
|
Polish | 1,045 |
Polish
|
Portuguese_Brazil | 1,046 |
Portuguese Brazil
|
Romansh | 1,047 |
Romansh
|
Romanian_Romania | 1,048 |
Romanian Romania
|
Russian_Russia | 1,049 |
Russian Russia
|
Croatian | 1,050 |
Croatian
|
Slovak | 1,051 |
Slovak
|
Albanian | 1,052 |
Albanian
|
Swedish_Sweden | 1,053 |
Swedish Sweden
|
Thai | 1,054 |
Thai
|
Turkish | 1,055 |
Turkish
|
Urdu_Islamic_Republic_of_Pakistan | 1,056 |
Urdu Islamic Republic of Pakistan
|
Indonesian | 1,057 |
Indonesian
|
Ukrainian | 1,058 |
Ukrainian
|
Belarusian | 1,059 |
Belarusian
|
Slovenian | 1,060 |
Slovenian
|
Estonian | 1,061 |
Estonian
|
Latvian | 1,062 |
Latvian
|
Lithuanian | 1,063 |
Lithuanian
|
Tajik | 1,064 |
Tajik
|
Persian | 1,065 |
Persian
|
Vietnamese | 1,066 |
Vietnamese
|
Armenian | 1,067 |
Armenian
|
Azeri_Latin_Azerbaijan | 1,068 |
Azeri Latin Azerbaijan
|
Basque | 1,069 |
Basque
|
Upper_Sorbian | 1,070 |
Upper Sorbian
|
Macedonian | 1,071 |
Macedonian
|
Sutu_South_Africa | 1,072 |
Sutu South Africa
|
Tsonga | 1,073 |
Tsonga
|
Setswana | 1,074 |
Setswana
|
Venda | 1,075 |
Venda
|
Xhosa | 1,076 |
Xhosa
|
Afrikaans_South_Africa | 1,078 |
Afrikaans South Africa
|
Georgian | 1,079 |
Georgian
|
Faroese | 1,080 |
Faroese
|
Hindi | 1,081 |
Hindi
|
Maltese | 1,082 |
Maltese
|
Sami_Northern_Norway | 1,083 |
Sami Northern Norway
|
Yiddish | 1,085 |
Yiddish
|
Malay_Malaysia | 1,086 |
Malay Malaysia
|
Kazakh | 1,087 |
Kazakh
|
Kyrgyz | 1,088 |
Kyrgyz
|
Kiswahili | 1,089 |
Kiswahili
|
Turkmen | 1,090 |
Turkmen
|
Uzbek_Latin_Uzbekistan | 1,091 |
Uzbek Latin Uzbekistan
|
Tatar_Russia | 1,092 |
Tatar Russia
|
Bengali_India | 1,093 |
Bengali India
|
Punjabi_India | 1,094 |
Punjabi India
|
Gujarati | 1,095 |
Gujarati
|
Tamil | 1,097 |
Tamil
|
Telugu_India | 1,098 |
Telugu India
|
Kannada | 1,099 |
Kannada
|
Malayalam | 1,100 |
Malayalam
|
Assamese | 1,101 |
Assamese
|
Marathi | 1,102 |
Marathi
|
Sanskrit | 1,103 |
Sanskrit
|
Mongolian_Cyrillic | 1,104 |
Mongolian Cyrillic
|
Tibetan | 1,105 |
Tibetan
|
Welsh | 1,106 |
Welsh
|
Khmer | 1,107 |
Khmer
|
Lao | 1,108 |
Lao
|
Burmese | 1,109 |
Burmese
|
Galician | 1,110 |
Galician
|
Konkani | 1,111 |
Konkani
|
Manipuri | 1,112 |
Manipuri
|
Sindhi_Devanagari | 1,113 |
Sindhi Devanagari
|
Syriac | 1,114 |
Syriac
|
Sinhala | 1,115 |
Sinhala
|
Cherokee | 1,116 |
Cherokee
|
Inuktitut_Syllabics_Canada | 1,117 |
Inuktitut Syllabics Canada
|
Amharic_Ethiopia | 1,118 |
Amharic Ethiopia
|
Tamazight_Arabic_Morocco | 1,119 |
Tamazight Arabic Morocco
|
Kashmiri_Arabic | 1,120 |
Kashmiri Arabic
|
Nepali_Nepal | 1,121 |
Nepali Nepal
|
Frisian | 1,122 |
Frisian
|
Pashto | 1,123 |
Pashto
|
Filipino | 1,124 |
Filipino
|
Hausa | 1,128 |
Hausa
|
Yoruba | 1,130 |
Yoruba
|
Quechua_Bolivia | 1,131 |
Quechua Bolivia
|
Sesotho_sa_Leboa_South_Africa | 1,132 |
Sesotho sa Leboa South Africa
|
Bashkir_Russia | 1,133 |
Bashkir Russia
|
Luxembourgish | 1,134 |
Luxembourgish
|
Greenlandic | 1,135 |
Greenlandic
|
Kanuri | 1,137 |
Kanuri
|
Oromo | 1,138 |
Oromo
|
Tigrigna_Ethiopia | 1,139 |
Tigrigna Ethiopia
|
Guarani | 1,140 |
Guarani
|
Hawaiian | 1,141 |
Hawaiian
|
Latin | 1,142 |
Latin
|
Somali | 1,143 |
Somali
|
Yi_PRC | 1,144 |
Yi PRC
|
Mapudungun | 1,146 |
Mapudungun
|
Mohawk | 1,148 |
Mohawk
|
Breton_France | 1,150 |
Breton France
|
Uighur | 1,152 |
Uighur
|
Maori | 1,153 |
Maori
|
Occitan | 1,154 |
Occitan
|
Corsican | 1,155 |
Corsican
|
Alsatian_France | 1,156 |
Alsatian France
|
Kiche | 1,158 |
Kiche
|
Kinyarwanda | 1,159 |
Kinyarwanda
|
Wolof | 1,160 |
Wolof
|
Dari | 1,164 |
Dari
|
Arabic_Iraq | 2,049 |
Arabic Iraq
|
Chinese_PRC | 2,052 |
Chinese PRC
|
German_Switzerland | 2,055 |
German Switzerland
|
English_United_Kingdom | 2,057 |
English United Kingdom
|
Spanish_Mexico | 2,058 |
Spanish Mexico
|
French_Belgium | 2,060 |
French Belgium
|
Italian_Switzerland | 2,064 |
Italian Switzerland
|
Dutch_Belgium | 2,067 |
Dutch Belgium
|
Norwegian_Nynorsk | 2,068 |
Norwegian Nynorsk
|
Portuguese_Portugal | 2,070 |
Portuguese Portugal
|
Romanian_Moldova | 2,072 |
Romanian Moldova
|
Russian_Moldova | 2,073 |
Russian Moldova
|
Serbian_Latin_Serbia | 2,074 |
Serbian Latin Serbia
|
Swedish_Finland | 2,077 |
Swedish Finland
|
Urdu_India | 2,080 |
Urdu India
|
LithuanianTrad | 2,087 |
Lithuanian Traditional
|
Azeri_Cyrillic_Azerbaijan | 2,092 |
Azeri Cyrillic Azerbaijan
|
Lower_Sorbian | 2,094 |
Lower Sorbian
|
Sami_Northern_Sweden | 2,107 |
Sami Northern Sweden
|
Malay_Brunei_Darussalam | 2,110 |
Malay Brunei Darussalam
|
Uzbek_Cyrillic_Uzbekistan | 2,115 |
Uzbek Cyrillic Uzbekistan
|
Bengali_Bangladesh | 2,117 |
Bengali Bangladesh
|
Punjabi_Pakistan | 2,118 |
Punjabi Pakistan
|
Mongolian_Traditional | 2,128 |
Mongolian Traditional
|
Dzongkha | 2,129 |
Dzongkha
|
Sindhi_Arabic | 2,137 |
Sindhi Arabic
|
Inuktitut_Latin_Canada | 2,141 |
Inuktitut Latin Canada
|
Tamazight_Latin_Algeria | 2,143 |
Tamazight Latin Algeria
|
Kashmiri | 2,144 |
Kashmiri
|
Nepali_India | 2,145 |
Nepali India
|
Quechua_Ecuador | 2,155 |
Quechua Ecuador
|
Tigrigna_Eritrea | 2,163 |
Tigrigna Eritrea
|
Arabic_Egypt | 3,073 |
Arabic Egypt
|
Chinese_Hong_Kong | 3,076 |
Chinese Hong Kong
|
German_Austria | 3,079 |
German Austria
|
English_Australia | 3,081 |
English Australia
|
Spanish_Spain | 3,082 |
Spanish Spain
|
French_Canada | 3,084 |
French Canada
|
Serbian_Cyrillic_Serbia | 3,098 |
Serbian Cyrillic Serbia
|
Sami_Northern_Finland | 3,131 |
Sami Northern Finland
|
Quechua_Peru | 3,179 |
Quechua Peru
|
Arabic_Libya | 4,097 |
Arabic Libya
|
Chinese_Singapore | 4,100 |
Chinese Singapore
|
German_Luxembourg | 4,103 |
German Luxembourg
|
English_Canada | 4,105 |
English Canada
|
Spanish_Guatemala | 4,106 |
Spanish Guatemala
|
French_Switzerland | 4,108 |
French Switzerland
|
BosniaHerzegovina | 4,122 |
BosniaHerzegovina
|
Sami_Lule_Norway | 4,155 |
Sami Lule Norway
|
Arabic_Algeria | 5,121 |
Arabic Algeria
|
Chinese_Macao | 5,124 |
Chinese Macao
|
German_Liechtenstein | 5,127 |
German Liechtenstein
|
English_New_Zealand | 5,129 |
English New Zealand
|
Spanish_Costa_Rica | 5,130 |
Spanish Costa Rica
|
French_Luxembourg | 5,132 |
French Luxembourg
|
Bosnian_Latin | 5,146 |
Bosnian Latin
|
Sami_Lule_Sweden | 5,179 |
Sami Lule Sweden
|
Arabic_Morocco | 6,145 |
Arabic Morocco
|
English_Ireland | 6,153 |
English Ireland
|
Spanish_Panama | 6,154 |
Spanish Panama
|
French_Monaco | 6,156 |
French Monaco
|
Serbian_Latin_Bosnia_Herzegovina | 6,170 |
Serbian Latin Bosnia Herzegovina
|
Sami_Southern_Norway | 6,203 |
Sami Southern Norway
|
Arabic_Tunisia | 7,169 |
Arabic Tunisia
|
English_South_Africa | 7,177 |
English South Africa
|
Spanish_Dominican_Republic | 7,178 |
Spanish Dominican Republic
|
Serbian_Cyrillic_BosniaHerzegovina | 7,194 |
Serbian Cyrillic BosniaHerzegovina
|
Sami_Southern_Sweden | 7,227 |
Sami Southern Sweden
|
Arabic_Oman | 8,193 |
Arabic Oman
|
English_Jamaica | 8,201 |
English Jamaica
|
Spanish_Venezuela | 8,202 |
Spanish Venezuela
|
French_Reunion | 8,204 |
French Reunion
|
Bosnian_Cyrillic | 8,218 |
Bosnian Cyrillic
|
Sami_Skolt_Finland | 8,251 |
Sami Skolt Finland
|
Arabic_Yemen | 9,217 |
Arabic Yemen
|
English_Caribbean | 9,225 |
English Caribbean
|
Spanish_Colombia | 9,226 |
Spanish Colombia
|
French_Congo | 9,228 |
French Congo
|
Sami_Inari_Finland | 9,275 |
Sami Inari Finland
|
Arabic_Syria | 10,241 |
Arabic Syria
|
English_Belize | 10,249 |
English Belize
|
Spanish_Peru | 10,250 |
Spanish Peru
|
French_Senegal | 10,252 |
French Senegal
|
Arabic_Jordan | 11,265 |
Arabic Jordan
|
English_Trinidad_and_Tobago | 11,273 |
English Trinidad and Tobago
|
Spanish_Argentina | 11,274 |
Spanish Argentina
|
French_Cameroon | 11,276 |
French Cameroon
|
Arabic_Lebanon | 12,289 |
Arabic Lebanon
|
English_Zimbabwe | 12,297 |
English Zimbabwe
|
Spanish_Ecuador | 12,298 |
Spanish Ecuador
|
French_Cote_d_Ivoire | 12,300 |
French Cote d Ivoire
|
Arabic_Kuwait | 13,313 |
Arabic Kuwait
|
English_Philippines | 13,321 |
English Philippines
|
Spanish_Chile | 13,322 |
Spanish Chile
|
French_Mali | 13,324 |
French Mali
|
Arabic_UAE | 14,337 |
Arabic UAE
|
Spanish_Uruguay | 14,346 |
Spanish Uruguay
|
French_Morocco | 14,348 |
French Morocco
|
Arabic_Bahrain | 15,361 |
Arabic Bahrain
|
English_Hong_Kong | 15,369 |
English Hong Kong
|
Spanish_Paraguay | 15,370 |
Spanish Paraguay
|
French_Haiti | 15,372 |
French Haiti
|
Arabic_Qatar | 16,385 |
Arabic Qatar
|
English_India | 16,393 |
English India
|
Spanish_Bolivia | 16,394 |
Spanish Bolivia
|
English_Malaysia | 17,417 |
English Malaysia
|
Spanish_El_Salvador | 17,418 |
Spanish El Salvador
|
English_Singapore | 18,441 |
English Singapore
|
Spanish_Honduras | 18,442 |
Spanish Honduras
|
Spanish_Nicaragua | 19,466 |
Spanish Nicaragua
|
Spanish_Puerto_Rico | 20,490 |
Spanish Puerto Rico
|
Spanish_United_States | 21,514 |
Spanish United States
|
Remarks This language will be used by application which opens RTF (for example MS Word) for spell checking.
Example Set language for spelling tools using C#
using System;
using System.IO;
using SautinSoft;
namespace Sample
{
class Test
{
static void Main(string[] args)
{
ConvertHtmlToRtfFile();
}
public static void ConvertHtmlToRtfFile()
{
SautinSoft.HtmlToRtf h = new SautinSoft.HtmlToRtf();
HtmlToRtf.HtmlConvertOptions opt = new HtmlToRtf.HtmlConvertOptions();
opt.OutputFormat = HtmlToRtf.OutputFormat.Rtf;
string inpFile = @"..\..\..\sample.html";
string outFile = Path.ChangeExtension(inpFile, ".rtf");
opt.SpellingLanguage = HtmlToRtf.SpellingLanguage.English_Singapore;
if (h.Convert(inpFile, outFile, opt))
{
System.Diagnostics.Process.Start(new System.Diagnostics.ProcessStartInfo(outFile) { UseShellExecute = true });
}
}
}
}
Set language for spelling tools using VB.Net
Imports System
Imports System.IO
Imports SautinSoft
Namespace Sample
Friend Class Test
Shared Sub Main(ByVal args() As String)
ConvertHtmlToRtfFile()
End Sub
Public Shared Sub ConvertHtmlToRtfFile()
Dim h As New SautinSoft.HtmlToRtf()
Dim opt As New HtmlToRtf.HtmlConvertOptions()
opt.OutputFormat = HtmlToRtf.OutputFormat.Rtf
Dim inpFile As String = "..\..\..\sample.html"
Dim outFile As String = Path.ChangeExtension(inpFile, ".rtf")
opt.SpellingLanguage = HtmlToRtf.SpellingLanguage.English_Singapore
If h.Convert(inpFile, outFile, opt) Then
System.Diagnostics.Process.Start(New System.Diagnostics.ProcessStartInfo(outFile) With {.UseShellExecute = True})
End If
End Sub
End Class
End Namespace
See Also