Quantcast
Channel: Aspose.Pdf Product Family
Viewing all articles
Browse latest Browse all 3131

multi-column section followed by another section on same page crashes during save

$
0
0
When creating a pdf with a section that has multiple columns, followed by another section which is not on a new page the Save call crashes.

var pdf = new Pdf();
var colSection = pdf.Sections.Add();
colSection.ColumnInfo.ColumnCount = 2;
colSection.Paragraphs.Add(new Text("test"));
var anotherSection = pdf.Sections.Add();
anotherSection.IsNewPage = false;
pdf.Save(new MemoryStream()); //System.ArgumentNullException : Value cannot be null. Parameter name: fontInfoProvider

Aspose.Pdf version 9.8.0.0

Viewing all articles
Browse latest Browse all 3131

Trending Articles