---
title: "apply_style method"
url: "https://reference.aspose.com/diagram/python-net/aspose.diagram/page/apply_style/"
product: "Aspose.Diagram for Python via .NET API References"
---


## apply_style(text_style, line_style, fill_style) {#int-int-int}

Applies style for full page.



```python
def apply_style(self, text_style, line_style, fill_style):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| text_style | int | text Style id. |
| line_style | int | line Style id. |
| fill_style | int | fill Style id. |
### Remarks

Default value is -1.


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