Direct method to delete a page

Hello,
We are using aspose word 21.1 version. Is there a direct method to delete a page from a word where I have a specific bookmark?
Thanks

@mp2 Unfortunately, there is no such method. MS Word documents are flow documents and does not contain any information about document layout. The consumer application builds document layout on the fly.
However Aspose.Words provides LayoutCollector and LayoutEnumerator classes which allow to work with document layout.
In your case you can use LayoutCollector to get page number of the page with bookmark, then use Document.extractPages method to get all document pages except the detected one and them use Document.appendDocument to merge document arts togather.