We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Can't add ParagraphEx element into ParagraphExCollection

Hi, I have a problem when I want to add element of type ParagraphEx into ParagraphExCollection, example:

ParagraphEx paragraph = getParagraph();
ParagraphExCollection paragraphCollection = getParagraphCollection();

now when I want to add paragraph to paragraphCollection using this code:


I get an exception:

class com.aspose.slides.b.a.e: This implementation of IObservable supports only one IObserver
com.aspose.slides.Ge.subscribe(Unknown Source)
com.aspose.slides.ParagraphEx.subscribe(Unknown Source)
com.aspose.slides.ParagraphsEx.do(Unknown Source)
com.aspose.slides.ParagraphsEx.add(Unknown Source)

Can you help me with this ?

Hi Klaus,

Please visit this documentation link for your kind reference. You can see in example that there are multiple paragraphs added in the text frame. If there is still an issue then please share the sample application highlighting the issue. I have used Aspose.Slides for Java 6.9.0 for my investigation.

Many Thanks,