HI, My web asp.net application have a text field call “remarks” which allow user to input text in point form or with line break. And it will show in one powerpoint slide. however, aspose.slide doesnt accept line break. is there any suggestion to me to do it?
There are 2 ways:
1. Put text with line breaks to TextFrame.Text property. And after that change formatting for all generated paragraphs and portions.
2. Split your input text by yourself and create paragraphs. Really there is nothing difficult.
thanks, by any chance, do you have any sample code for asp.net or vb.net for me to have a look? thanks!
Check code at the end of this thread.
<a href="
Hope it will be useful for you.
I cant download the Attachment file: ReplaceTokensInParagraphs.txt in the last post, any idea?
Can you download it here? That is not splitting text example but just advanced work
with paragraphs our customer use.
How to split text please check MSDN String.Split method or may be this thread:
<a href="
cool, thanks alot
[There are 2 ways:
1. Put text with line breaks to TextFrame.Text property. And after that change formatting for all generated paragraphs and portions.
2. Split your input text by yourself and create paragraphs. Really there is nothing difficult.]
when i read the sample, i cant really understand~!
doesnt anyone have a simple example? i have read the wiki, still cant find the idea. please help me with the simple example with item 1 or item 2.
thanks alot