Saving documents

View as MarkdownMarkdown

Set up your AI agent

Give your coding agent live access to the GroupDocs documentation and API reference through the GroupDocs Docs MCP server — no install, no API key. Learn more

claude mcp add --transport http groupdocs-docs https://docs.groupdocs.com/mcp

Also process documents locally

The GroupDocs.Redaction MCP server lets your agent work with files on your machine; they are never uploaded. It needs the .NET 10 SDK or Docker.

claude mcp add groupdocs-redaction -- dnx GroupDocs.Redaction.Mcp --yes
Folders, licensing and more →

Saving a document, GroupDocs.Redaction puts it in the same folder as the original file, renaming or rewriting original. If you need to save the document to any custom location, you’ll have to open a Stream to this location. As a save option by default, GroupDocs.Redaction converts all pages (slides, worksheets) in a document into images and puts them in a single PDF file, so you can share the redacted document without any additional conversions. You can control this behavior through RasterizeToPdf property in *SaveOptions *or Enabled property in RasterizationOptions class.

For word processing documents saved in the original format, you can also set the OOXML compliance level through SaveOptions.getWordprocessingSaveOptions().setOoxmlCompliance(...).

You can see examples of Save method and its options in one of these guides: