OpenAIImageDescriptionCopilotExtensions.AddPdfImageDescriptionsAsync
OpenAIImageDescriptionCopilotExtensions.AddPdfImageDescriptionsAsync method
Asynchronously adds image descriptions to a PDF file and saves new documents to a specified folders.
public static Task AddPdfImageDescriptionsAsync(
this IImageDescriptionCopilot imageDescriptionCopilot, string outputDirectory,
CancellationToken? cancellationToken = default)
Parameter | Type | Description |
---|---|---|
imageDescriptionCopilot | IImageDescriptionCopilot | The image description copilot. |
outputDirectory | String | The output directory where to save the output PDF files. |
cancellationToken | Nullable`1 | The cancellation token (optional). |
Return Value
A task representing the asynchronous operation.
See Also
- interface IImageDescriptionCopilot
- class OpenAIImageDescriptionCopilotExtensions
- namespace Aspose.Pdf.AI
- assembly Aspose.PDF