Footnotes Layout issue

Using the following example code from the documentation yields the following results (see attachment).
See Footnote 38, it’s text is printed on the next page.

     // create Document instance
        Document doc = new Document();
        // add page to pages collection of PDF
        Page page = doc.Pages.Add();
        // create GraphInfo object
        Aspose.Pdf.GraphInfo graph = new Aspose.Pdf.GraphInfo();
        // set line width as 2
        graph.LineWidth = 2;
        // set the color for graph object
        graph.Color = Aspose.Pdf.Color.Red;
        // set dash array value as 3
        graph.DashArray = new int[] { 3 };
        // set dash phase value as 1
        graph.DashPhase = 1;
        // set footnote line style for page as graph
        page.NoteLineStyle = graph;

        // create TextFragment instance
        TextFragment text = new TextFragment("Hello World");
        
        // set FootNote value for TextFragment
        var note = new Note("foot note for test text 1");
        text.FootNote = note;
        
        // add TextFragment to paragraphs collection of first page of document
        page.Paragraphs.Add(text);

        // create second TextFragment
        text = new TextFragment("Aspose.Pdf for .NET");
        // set FootNote for second text fragment
        text.FootNote = new Note("foot note for test text 2");
        // add second text fragment to paragraphs collection of PDF file
        page.Paragraphs.Add(text);

        for (int i = 0; i < 50; i++)
        {
            // create second TextFragment
            text = new TextFragment("Aspose.Pdf for .NET4");
            text.FootNote = note;
            page.Paragraphs.Add(text);
        }
        

        // save the PDF file
        doc.Save("c:/publish/CustomFootNote_Line.pdf");

CustomFootNote_Line.pdf (41.2 KB)

@Code7777

Thanks for contacting support.

We have tested the scenario and observed that the Footnote was shifted to second page, whereas its relative TextFragment remained on the first page. Hence we have logged an issue as PDFNET-43108 in our issue tracking system. We will further investigate the issue and keep you informed with the status of its correction. Please be patient and spare us little time.

We are sorry for the inconvenience.

Thanks for the quick response and yes please let me know when it will be fixed.

@Code7777

Thanks for writing back.

Now that issue has been logged in our issue tracking system, so our product team will investigate it as per their development schedule. As soon as we have some updates regarding its investigation, we will share with you within this forum thread. Please be patient and spare us little time.

We are sorry for the inconvenience.