# Output format and password Following this guide you will learn how to save edited Word document with password or change output document format using GroupDocs.Editor for .NET features. [`WordProcessingSaveOptions`](https://reference.groupdocs.com/editor/net/groupdocs.editor.options/wordprocessingsaveoptions) class is responsible for tuning and adjusting the saving process, when [`EditableDocument`](https://reference.groupdocs.com/editor/net/groupdocs.editor/editabledocument) instance, that contains already edited document content, should be converted to the output document of some WordProcessing format. In other words, the [`WordProcessingSaveOptions`](https://reference.groupdocs.com/editor/net/groupdocs.editor.options/wordprocessingsaveoptions) class specifies how exactly the edited HTML should be saved to the output document. Unlike load and edit options, [`WordProcessingSaveOptions`](https://reference.groupdocs.com/editor/net/groupdocs.editor.options/wordprocessingsaveoptions) class has one mandatory [constructor](https://reference.groupdocs.com/editor/net/groupdocs.editor.options/wordprocessingsaveoptions/wordprocessingsaveoptions/), that obtains one parameter — `outputFormat`. The `outputFormat` parameter has a [`WordProcessingFormats`](https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/wordprocessingformats) type. In turn, this type contains all supported formats from the [family of WordProcessing formats](https://docs.fileformat.com/word-processing/), which are supportable for saving document. Each field of [`WordProcessingFormats`](https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/wordprocessingformats) struct represent one separate WordProcessing format — DOC, DOCX, RTF, ODT etc. There is also an [`All`](https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/wordprocessingformats/fields/all) field, that allows to enumerate over all WordProcessing formats. So, with the `outputFormat` parameter user should select a specific format of the output WordProcessing document, which should be generated by the [`editor.Save()`](https://reference.groupdocs.com/editor/net/groupdocs.editor/editor/save) method. This constructor is mandatory, because it is unacceptable to create a [`WordProcessingSaveOptions`](https://reference.groupdocs.com/editor/net/groupdocs.editor.options/wordprocessingsaveoptions) instance without output format; otherwise, how GroupDocs.Editor "should know" into which specific format the document should be saved? However, output format can be changed later, after creating an instance of the [`WordProcessingSaveOptions`](https://reference.groupdocs.com/editor/net/groupdocs.editor.options/wordprocessingsaveoptions) class, with the [`OutputFormat`](https://reference.groupdocs.com/editor/net/groupdocs.editor.options/wordprocessingsaveoptions/outputformat) property. This property also has a getter, that allows to obtain output format, specified previously in a constructor. Almost all WordProcessing formats, especially with binary nature, support file encoding with the password. If such document is encoded, it is required to specify a password for opening it. [`WordProcessingSaveOptions`](https://reference.groupdocs.com/editor/net/groupdocs.editor.options/wordprocessingsaveoptions) class has the [next property](https://reference.groupdocs.com/editor/net/groupdocs.editor.options/wordprocessingsaveoptions/password), which allows to set a password: ```csharp public string Password { get; set; } ``` By default the value of this property is `NULL`, which means that password will not be applied. If user specifies a string in this property, the output document will be encoded and protected with this string as a password. If user had specified some password in this property at some step, but then wants to dismiss password and do not encode the document, he can set the value to NULL or empty string, — both these values will be interpreted as "do not set a password" when calling the [`editor.Save()`](https://reference.groupdocs.com/editor/net/groupdocs.editor/editor/save) method.