OlfSoftware.DeepL.ClientLib Unit
Classes
Delegates
| TOnTextTranslatedErrorEvent |
Callback method/event when translation has an error |
| TOnTextTranslatedErrorProc |
Callback procedure when translation has an error |
| TOnTextTranslatedEvent |
Callback method/event when translation is ok |
| TOnTextTranslatedProc |
Callback procedure when translation is ok |
Constants
Routines
| DeepLSetAPIURL(string) |
Call to initialize DeepL API URL. If you forget to do, you will be on Free API. |
| DeepLTranslateTextASync(string, string, string, string, TOnTextTranslatedEvent, TOnTextTranslatedErrorEvent, string, string, string) |
call DeepL API to translate the text from source_lang to target_lang (asynchrone - don't freeze current thread) |
| DeepLTranslateTextASync(string, string, string, string, TOnTextTranslatedProc, TOnTextTranslatedErrorProc, string, string, string) |
call DeepL API to translate the text from source_lang to target_lang (asynchrone - don't freeze current thread) |
| DeepLTranslateTextSync(string, string, string, string, string, string, string) |
call DeepL API to translate the text from source_lang to target_lang (synchrone - current thread is freezed during process) |