How to add bookmark in content control first child and last child

Hii team,
I want to add bookmark in content control first child and last child of each page when content control is splited on multiple pages.

Snippet :

Aspose.Words.Document doc = new Aspose.Words.Document(@"C:\\Sample.docx");
var sdts = doc.GetChildNodes(NodeType.StructuredDocumentTag, true).Where(x => ((Aspose.Words.Markup.StructuredDocumentTag)x).Tag.StartsWith("Rangescop_"));

Sample.docx (16.2 KB)

@Jayshiv1408 Your colleague already asked exactly the same question here:
https://forum.aspose.com/t/how-to-check-current-sdt-content-is-splited-in-two-pages/258484