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


## GetPageCount function

Gets or sets the number of pages to save.

```go

func (instance *PaginatedSaveOptions) GetPageCount()  (int32,  error) 

```

## Remarks


## See Also

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