Adding Text Dynamically using VSTO and Aspose.Slides for Java
Contents
[
Hide
]
A common task that developers are developers to accomplish is adding text to slides dynamically. This article shows code examples for adding text dynamically using VSTO and Aspose.Slides for Java.
Adding Text Dynamically
Both methods follow these steps:
- Create a presentation.
- Add a blank slide.
- Add a text box.
- Set some text.
- Write the presentation.
VSTO Code Example
The code snippets below results in a presentation with a plain slide and a string of text on it.
The presentation as created in VSTO
Aspose.Slides for Java Example
The code snippets below use Aspose.Slides to create a presentation with a plain slide and a string of text on it.
The presentation as created using Aspose.Slides for Java