We use the following conversion api:
var converter = new Converter(streamProvider, loadOptionsProvider, settingsProvider);
where:
Func<FileType, LoadOptions> loadOptionsProvider = (fileType) => {
...
};
In version …...FromStream(inputStream); to detect the primary file type and use...many times, depending on the detected source document stream file...