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


## GetCreateDirectory function

If true and the directory does not exist, the directory will be automatically created before saving the file.

```go

func (instance *PaginatedSaveOptions) GetCreateDirectory()  (bool,  error) 

```

## Remarks


## See Also

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