| IMultiFileConverterDetectedLanguagesCorrespondToDocumentProperties Property |
Namespace: Sdl.FileTypeSupport.Framework.IntegrationApi
The method UpdateDocumentPropertiesFromExtractors can be called to set the current document properties from the detected languages. However, if there are multiple extractors that detect with certainty different languages, this will not work.
You can ensure that specific languages get applied to all extractors by updating the document properties and by calling ApplyDocumentPropertiesToExtractors.
The DetectedSourceLanguage and DetectedTargetLanguage properties can be used to retrieve the source and target language detected by the extractors if a common language is detected and can be used. You can also access the detected source and target languages explicitly for each extractor by looking at FileConversionProperties and checking the FileSnifferInfo.