export_generator_name property

SaveOptions.export_generator_name property

When True, causes the name and version of Aspose.Words to be embedded into produced files. Default value is True.

@property
def export_generator_name(self) -> bool:
    ...

@export_generator_name.setter
def export_generator_name(self, value: bool):
    ...

Examples

Shows how to disable adding name and version of Aspose.Words into produced files.

doc = aw.Document()
# Use https:#docs.aspose.com/words/net/generator-or-producer-name-included-in-output-documents/ to know how to check the result.
save_options = aw.saving.OoxmlSaveOptions()
save_options.export_generator_name = False
doc.save(file_name=ARTIFACTS_DIR + 'OoxmlSaveOptions.ExportGeneratorName.docx', save_options=save_options)

See Also