Output with Slides V6.1 not correct

I have attached two files. One output is from Aspose.Slides V5.4 and another one is with Aspose.Slides V6.1.

Firstly the same code gives different output with different version of Dll. If you compare the files you will notice.
1.There is a blue line on top of every slide with new version of Dll. this should not be there.
2. On page page 2 you will notice difference in color of text.
3. “More” text comes differently in both the output.

Firstly, my question is why the same code produces different outputs.
The code written for Version 5.4 fails for Version 6.1.

Certain classes which causing problem are - TextFrame, Portions, Paragraphs…
Have their definition changed?

Hi Pankajh,


I have observed the two PDF files shared by you and have been able to observe the issue. I would suggest you to please use Aspose.Slides for .NET 6.5.0 for your investigation and compare the results. If there is still an issue then please share the source presentation with us for further investigation on our end.

Many Thanks,
I have attached my desired output file.
the code below is for Version 5.4 but it fails for higher version of Dlls. I tried with 6.1 and 6.5 and it fails. Error is Index is out of Range.
Let me know if anything else would be required/


the code snippet is below:
private void CreateMoreCommentsSlide(int styp, string seqno)
{
ShapeEx moreShp = _moreSlide.Shapes[0]; //comments
ShapeEx seqnoShp = _moreSlide.Shapes[2]; //seqno

if (seqno != null && seqnoShp.AlternativeText == "Seqno")
((AutoShapeEx)seqnoShp).TextFrame.Text = seqno;

StringBuilder moreText = new StringBuilder();
var moreCommentsList = _dictMoreComments.OrderBy(x => x.Key).ToList();
foreach (KeyValuePair ky in moreCommentsList)
{
moreText.AppendLine(GetQuestionText(ky.Key, styp));
moreText.AppendLine(ky.Value);
}
//change font color of Question and answers
TextFrameEx textFrame1 = ((AutoShapeEx)moreShp).TextFrame;
textFrame1.Text = moreText.ToString();

ParagraphEx para1 = textFrame1.Paragraphs[2];
PortionEx potion1 = para1.Portions[0];
potion1.FillFormat.FillType = FillTypeEx.Solid;
potion1.FillFormat.SolidFillColor.Color = Color.White;

ParagraphEx para2 = null;
ParagraphEx para3 = null;
ParagraphEx para4 = null;
if (_dictMoreComments.Count > 1)
{
para2 = textFrame1.Paragraphs[6];
PortionEx potion2 = para2.Portions[0];
potion2.FillFormat.FillType = FillTypeEx.Solid;
potion2.FillFormat.SolidFillColor.Color = Color.White;
}
if (_dictMoreComments.Count > 2)
{
para3 = textFrame1.Paragraphs[10];
PortionEx potion3 = para3.Portions[0];
potion3.FillFormat.FillType = FillTypeEx.Solid;
potion3.FillFormat.SolidFillColor.Color = Color.White;
}
if (_dictMoreComments.Count > 3)
{
para4 = textFrame1.Paragraphs[14];
PortionEx potion4 = para4.Portions[0];
potion4.FillFormat.FillType = FillTypeEx.Solid;
potion4.FillFormat.SolidFillColor.Color = Color.White;
}
_dictMoreComments.Clear();
moreCommentsList.Clear();
_isMoreComments = true;
}

Hi Pankajh,


I have observed the desired PDF and part of code snippet shared. However, in order to reproduce the issue on my end, I need the source presentation. Please share the source presentation. Also, from the shared code snippet, it look like to be a part of sample project only. Please share the working sample code with us that you are using to access presentation, applying operations and generating resultant PDF with us. I will be more than welcome to help you out further.

Many Thanks,