First Scenario: During layout of specific documents where the
first section is with
Continuous section break type, the layout algorithm enters in an infinite loop causing the application to hang.
Workaround: Change the section break type for the first section after the import of the document and before the layout:
document.Sections.First.PreviousSectionBreakType = SectionBreakType.NextPage;
Second Scenario: During the layout of specific documents where the
last section is with
Continuous section break type and has specific page size width and height, the layout algorithm enters in an infinite loop causing the application to hang.
Workaround 2: Slightly modify the size of the section which causes the issue after the import of the document and before the layout:
Size pagesize = radDocument.Sections.Last.PageSize;
radDocument.Sections.Last.PageSize = new Size(pagesize.Width - 0.001, pagesize.Height - 0.001);
Third Scenario: During layouting of specific documents containing anchored elements, the layout algorithm enters in an infinite loop causing the application to hang.
No workaround.