TranslateAsync

SlidesAIAgent.TranslateAsync method

Translates a presentation to the specified language using AI.

public Task TranslateAsync(IPresentation presentation, string language)
ParameterTypeDescription
presentationIPresentationTarget presentation
languageStringTarget language

Exceptions

exceptioncondition
ArgumentNullExceptionPresentation instance is not provided
ArgumentExceptionLanguage value can’t be null or empty

See Also