Aspose::Words::Document::RemoveCustomizations method

Document::RemoveCustomizations method

Removes toolbar and keyboard command customizations from the document.

void Aspose::Words::Document::RemoveCustomizations()

Examples

Shows how to remove toolbar and keyboard command customizations from the document.

auto doc = System::MakeObject<Aspose::Words::Document>(get_MyDir() + u"Customized menu.docx");

// Remove all custom document UI customizations, including custom context menu entries.
doc->RemoveCustomizations();

doc->Save(get_ArtifactsDir() + u"Document.RemoveCustomizations.docx");

See Also