Downloaded slides not holding enter

Hi,

My downloaded slides are not holding enter in the text…

what sould I replace " @"\r\n"" in the c# code to get enter in the downloaded slides … our application is using namespace aspose.slides

help is appreciated

@pubsupdev,

Can you please explain your problem in details and also please share source file and sample code so that we may further investigate to help you out.

Thank you so much for your quick reply.

We are creating PPTX files from text entered into a NVARCHAR database field. When the field contains a hard return, Aspose is ignoring it and join the words together. (See attached PPT file – there should be a return after “Strategy”).Sample.pdf (297.6 KB)

Below is the code we have added to try and fix this but nothing works.

category.Description = Regex.Replace(category.Description, @"\r\n", “
”);

FYI: Its ASP dotnet C# code.

@pubsupdev,

Please share complete source code along with expected result and environment details so that we may further investigate to help you out.