Created
October 12, 2023 09:53
-
-
Save aspose-words-gists/22ae7036961fe3bde53ad6802c15edeb to your computer and use it in GitHub Desktop.
Aspose.Words for .NET. Aspose.Words Splitter for .NET.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For complete examples and data files, please go to https://github.com/aspose-words/Aspose.Words-for-.NET.git. | |
var doc = new Document(MyDir + "Big document.docx"); | |
for (var page = 0; page < doc.PageCount; page++) | |
{ | |
var extractedPage = doc.ExtractPages(page, 1); | |
extractedPage.Save(ArtifactsDir + $"SplitterPlugin.SplitDocument_{page + 1}.docx"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment