Hi Martin,
Thank you for using Syncfusion products.
Currently, we are analyzing your requirement in our end and we will update you the further details on November 20th 2020.
Kindly please provide more details about your requirement, so that it will be helpful for us to analyze and assist you further on this.
Regards,
Gowthamraj K
Thnaks Gowthamraj.
To simplify the requirement it is as follows:
Using to add text to a new page
Dim element As PdfTextElement = New PdfTextElement(content, fFont, PdfBrushes.Black)
Dim format As PdfLayoutFormat = New PdfLayoutFormat()
format.Break = PdfLayoutBreakType.FitPage
format.Layout = PdfLayoutType.Paginate
'Dim result As PdfLayoutResult = element.Draw(tocPage, points)
Dim result As PdfTextLayoutResult
result = element.Draw(tocPage, New RectangleF(points, New SizeF(tocPage.Graphics.ClientSize.Width - 165, 40)))
This allows the text to move on to the next page, but the next page needs ot have a solid purple back color to all the edges, but the text needs to have a margin of 30 all the way around. The first page i can create fine, the sceond page i remove all margins, make back purple, re-add margins to 30 but the text does not stay within the margins. However, i save the co-ordinates of the text so i can add PdfDocumentLinkAnnotation, this when applied adheres to the margins so is 30 points out from the actual text.