---
title: "ViewerStyleTemplate.GetStylesFromControl"
url: "https://reference.aspose.com/cells/net/aspose.cells.gridweb/viewerstyletemplate/getstylesfromcontrol/"
product: "Aspose.Cells for .NET API Reference"
description: "ViewerStyleTemplate method."
---

## ViewerStyleTemplate.GetStylesFromControl method

```csharp
public void GetStylesFromControl(MainWeb control)
```

| Parameter | Type | Description |
| --- | --- | --- |
| control | MainWeb |  |

### See Also

* class [MainWeb](../../mainweb/)
* class [ViewerStyleTemplate](../)
* namespace [Aspose.Cells.GridWeb](../../../aspose.cells.gridweb/)
* assembly [Aspose.Cells.GridWeb](../../../)


