---
title: "protect_styles property"
url: "https://reference.aspose.com/diagram/python-net/aspose.diagram/documentsettings/protect_styles/"
product: "Aspose.Diagram for Python via .NET API References"
---


## protect_styles property


Specifies whether the user is prevented from creating or editing styles. However, regardless of this setting, the user can still apply styles.

### See Also
* module [aspose.diagram](../../)
* class [DocumentSettings](/diagram/python-net/aspose.diagram/documentsettings)
