exportGeneratorName property

SaveOptions.exportGeneratorName property

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

get exportGeneratorName(): boolean

Examples

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

let doc = new aw.Document();

// Use https://docs.aspose.com/words/net/generator-or-producer-name-included-in-output-documents/ to know how to check the result.
let saveOptions = new aw.Saving.OoxmlSaveOptions();
saveOptions.exportGeneratorName = false;

doc.save(base.artifactsDir + "OoxmlSaveOptions.exportGeneratorName.docx", saveOptions);

See Also