GeneratePresentation

GeneratePresentation(string, PresentationContentAmountType)

Generates a presentation instance from a text description. Provide a topic, ideas, quotes, or text snippets in the required language.

public IPresentation GeneratePresentation(string description, 
    PresentationContentAmountType presentationContentAmount)
ParameterTypeDescription
descriptionStringThe topic, ideas, quotes, or text snippets.
presentationContentAmountPresentationContentAmountTypeThe amount of content in the resulting presentation.

Exceptions

exceptioncondition
ArgumentExceptionAI chat instruction can’t be null or empty.

See Also


GeneratePresentation(string, PresentationContentAmountType, IPresentation)

Generates a presentation instance from a text description. Provide a topic, ideas, quotes, or text snippets in the required language.

public IPresentation GeneratePresentation(string description, 
    PresentationContentAmountType presentationContentAmount, IPresentation presentationTemplate)
ParameterTypeDescription
descriptionStringThe topic, ideas, quotes, or text snippets.
presentationContentAmountPresentationContentAmountTypeThe amount of content in the resulting presentation.
presentationTemplateIPresentationA presentation to use as a template for layout and design, replacing the default template.

Exceptions

exceptioncondition
ArgumentNullExceptionPresentation template is not provided.
ArgumentExceptionAI chat instruction can’t be null or empty.

See Also