Wednesday, March 25, 2009

Aspose Slides Pro-Tip

Replace all your endline, newlines, and carriage return characters ('\n' and '\r') with the vertical tab character ('\v' or if you're in java '\013').  Otherwise you'll get exceptions if you try to put text in a paragraph that contains a newline.  This way you don't have to do anything stupid and ugly like this.

No comments: