---
title: "SetAutoFitMergedCellsType Method"
url: "https://reference.aspose.com/cells/go-cpp/autofitteroptions/setautofitmergedcellstype/"
product: "Aspose.Cells for Go via C++ API Reference"
description: "SetAutoFitMergedCellsType method. Encapsulates the function that represents setautofitmergedcellstype in Go."
---


## SetAutoFitMergedCellsType function

Gets and set the type of auto fitting row height of merged cells.

```go

func (instance *AutoFitterOptions) SetAutoFitMergedCellsType(value AutoFitMergedCellsType)  error

```

## Remarks


## See Also

* Class [AutoFitterOptions](../)
* Library [Aspose.Cells for Go](../../)
