Aspose::Words::Saving::SaveOptions::get_ExportGeneratorName method
SaveOptions::get_ExportGeneratorName method
When true, causes the name and version of Aspose.Words to be embedded into produced files. Default value is true.
bool Aspose::Words::Saving::SaveOptions::get_ExportGeneratorName() const
Examples
Shows how to disable adding name and version of Aspose.Words into produced files.
auto doc = MakeObject<Document>();
// Use https://docs.aspose.com/words/net/generator-or-producer-name-included-in-output-documents/ to know how to check the result.
auto saveOptions = MakeObject<OoxmlSaveOptions>();
saveOptions->set_ExportGeneratorName(false);
doc->Save(ArtifactsDir + u"OoxmlSaveOptions.ExportGeneratorName.docx", saveOptions);
See Also
- Class SaveOptions
- Namespace Aspose::Words::Saving
- Library Aspose.Words for C++