## VerticalPageBreakCollection::Add(int32_t, int32_t, int32_t) method


Adds a vertical page break to the collection.

```cpp
int32_t Aspose::Cells::VerticalPageBreakCollection::Add(int32_t startRow, int32_t endRow, int32_t column)
```


| Parameter | Type | Description |
| --- | --- | --- |
| startRow | int32_t | Start row index, zero based. |
| endRow | int32_t | End row index, zero based. |
| column | int32_t | [Column](../../column/) index, zero based. |

## ReturnValue

[VerticalPageBreak](../../verticalpagebreak/) object index.
## Remarks



This method is used to add a vertical pagebreak within a print area.
## See Also

* Class [Vector](../../vector/)
* Class [VerticalPageBreakCollection](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
## VerticalPageBreakCollection::Add(int32_t) method


Adds a vertical page break to the collection.

```cpp
int32_t Aspose::Cells::VerticalPageBreakCollection::Add(int32_t column)
```


| Parameter | Type | Description |
| --- | --- | --- |
| column | int32_t | [Cell](../../cell/) column index, zero based. |

## ReturnValue

[VerticalPageBreak](../../verticalpagebreak/) object index.
## Remarks



Page break is added in the top left of the cell. Please set a horizontal page break and a vertical page break concurrently.
## See Also

* Class [Vector](../../vector/)
* Class [VerticalPageBreakCollection](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
## VerticalPageBreakCollection::Add(int32_t, int32_t) method


Adds a vertical page break to the collection.

```cpp
int32_t Aspose::Cells::VerticalPageBreakCollection::Add(int32_t row, int32_t column)
```


| Parameter | Type | Description |
| --- | --- | --- |
| row | int32_t | [Cell](../../cell/) row index, zero based. |
| column | int32_t | [Cell](../../cell/) column index, zero based. |

## ReturnValue

[VerticalPageBreak](../../verticalpagebreak/) object index.
## Remarks



Page break is added in the top left of the cell. Please set a horizontal page break and a vertical page break concurrently.
## See Also

* Class [Vector](../../vector/)
* Class [VerticalPageBreakCollection](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
## VerticalPageBreakCollection::Add(const U16String\&) method


Adds a vertical page break to the collection.

```cpp
int32_t Aspose::Cells::VerticalPageBreakCollection::Add(const U16String &cellName)
```


| Parameter | Type | Description |
| --- | --- | --- |
| cellName | const U16String\& | [Cell](../../cell/) name. |

## ReturnValue

[VerticalPageBreak](../../verticalpagebreak/) object index.
## Remarks



Page break is added in the top left of the cell. Please set a horizontal page break and a vertical page break concurrently.
## See Also

* Class [Vector](../../vector/)
* Class [U16String](../../u16string/)
* Class [VerticalPageBreakCollection](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
## VerticalPageBreakCollection::Add(const char16_t*) method


Adds a vertical page break to the collection.

```cpp
int32_t Aspose::Cells::VerticalPageBreakCollection::Add(const char16_t *cellName)
```


| Parameter | Type | Description |
| --- | --- | --- |
| cellName | const char16_t* | [Cell](../../cell/) name. |

## ReturnValue

[VerticalPageBreak](../../verticalpagebreak/) object index.
## Remarks



Page break is added in the top left of the cell. Please set a horizontal page break and a vertical page break concurrently.
## See Also

* Class [Vector](../../vector/)
* Class [VerticalPageBreakCollection](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
