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 →

On this page

By default save() rasterizes every page of the redacted document into images and writes a single PDF next to the source file, so the result can be shared without any chance of recovering the removed content. You control this through the rasterize_to_pdf property of SaveOptions (or enabled on RasterizationOptions), and you can redirect the output to a stream for any custom location. The topics below show each saving scenario.

In this section

On this page