Discover the LayoutEnumerator Current property to easily access and modify the current position in your page layout model for enhanced design flexibility....the document is empty, that number of pages is currently zero...doc )); // We can see the numbers of the start and end pages...