Hello,
Hello Support,
The support team.
Hi,
Hi,
Document document = new Document();<o:p></o:p>
Page docPage = document.Pages.Add();
docPage.PageInfo.Margin = new Aspose.Pdf.MarginInfo()
{
Bottom = 30,
Left = 0,
Right = 0,
Top = 0
};
// HEADING 1
Aspose.Pdf.Heading h = new Aspose.Pdf.Heading(1);
h.Segments.Add(new TextSegment("Heading 1"));
docPage.Paragraphs.Add(h);
for (int i = 0; i < 10; i++)
{
docPage.Paragraphs.Add(new TextFragment("test test test " + i.ToString()));
}
// HEADING 2 (New Page)
docPage.PageInfo.Margin = new Aspose.Pdf.MarginInfo()
{
Bottom = 30,
Left = 0,
Right = 0,
Top = 0
};
h = new Aspose.Pdf.Heading(1);
h.IsInNewPage= true;
h.Segments.Add(new TextSegment("Heading 2"));
docPage.Paragraphs.Add(h);
for (int i = 0; i < 65; i++)
{
docPage.Paragraphs.Add(new TextFragment("test test test " + i.ToString()));
}
// HEADING 3
h = new Aspose.Pdf.Heading(1)
{
IsKeptWithNext = true
};
h.Segments.Add(new TextSegment("Heading 3"));
docPage.Paragraphs.Add(h);
for (int i = 0; i < 75; i++)
{
docPage.Paragraphs.Add(new TextFragment("test test test " + i.ToString()));
}
document.Save("c:/pdftest/HeadingRenderingIssue_output_2.pdf");
Hello,
We are pleased to share that the issues reported earlier in this thread are resolved and their resolution will be included in next release of Aspose.Pdf for .NET 10.7.0, which is planned to release in August-2015. Please be patient and wait for the resolution.ShmelP:
This issue is logged as PDFNEWNET-38556 and product team plans the resolution within current month.ShmelP:4) Also you do not support “StrikeOut” font
The new DOM supports the TOC feature. Please visit the following link for further details on Add TOC to Existing PDFShmelP:How can we use the new approach if the base functionality does not work (but works in your old generator) and we cannot even create ToC (which is the core requirement) with your new generator?