Table of Contents

TTMSFNCCloudTranslationTranslation Class

Represents a single translation result, holding the original text, the translated text and the detected source language, plus general-purpose data slots for attaching custom information.

API unit family: TMSFNCCloudTranslation Inherits from: TCollectionItem

Syntax

TTMSFNCCloudTranslationTranslation = class(TCollectionItem)

Properties

Name Description
DataBoolean General-purpose Boolean slot for associating custom data with the item.
DataInteger General-purpose integer slot for associating custom data with the item.
DataObject General-purpose object slot for associating custom data with the item.
DataPointer General-purpose pointer slot for associating custom data with the item.
DataString General-purpose string slot for associating custom data with the item.
SourceLanguage Language code of the original text.
SourceText Original text that was submitted for translation.
TranslatedText Translated text returned by the service.