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)
| Parameter | Type | Description | 
|---|
| description | String | The topic, ideas, quotes, or text snippets. | 
| presentationContentAmount | PresentationContentAmountType | The amount of content in the resulting presentation. | 
Exceptions
| exception | condition | 
|---|
| ArgumentException | AI 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)
| Parameter | Type | Description | 
|---|
| description | String | The topic, ideas, quotes, or text snippets. | 
| presentationContentAmount | PresentationContentAmountType | The amount of content in the resulting presentation. | 
| presentationTemplate | IPresentation | A presentation to use as a template for layout and design, replacing the default template. | 
Exceptions
| exception | condition | 
|---|
| ArgumentNullException | Presentation template is not provided. | 
| ArgumentException | AI chat instruction can’t be null or empty. | 
See Also