This question is locked. New answers and comments are not allowed.
Hi to all,
I'have a cicle of several sections after every section (after I add current section), I call InsertPageBreak method in this mode:
I recevied "System.StackOverflowException" of document.
Before all I wrote this:
Why I receive this error?
I'have a cicle of several sections after every section (after I add current section), I call InsertPageBreak method in this mode:
MyRTBDocument.CaretPosition.MoveToLastPositionInDocument();MyRTBDocument.InsertPageBreak();I recevied "System.StackOverflowException" of document.
Before all I wrote this:
MyRTB.Document = new RadDocument();MyRTB.Document.Sections.Add(new Telerik.Windows.Documents.Model.Section() { PageMargin = new Telerik.Windows.Documents.Layout.Padding(10, 10, 10, 10) });MyRTB.Document.Measure(RadDocument.MAX_DOCUMENT_SIZE);MyRTB.Document.Arrange(new RectangleF(PointF.Empty, DocumentoCreato.Document.DesiredSize));Why I receive this error?