RemoveCustomizations

Document.RemoveCustomizations method

Removes toolbar and keyboard command customizations from the document.

public void RemoveCustomizations()

Examples

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

Document doc = new Document(MyDir + "Customized menu.docx");

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

doc.Save(ArtifactsDir + "Document.RemoveCustomizations.docx");

See Also