Aspose::Cells::HorizontalPageBreakCollection::Add method

HorizontalPageBreakCollection::Add(int32_t, int32_t, int32_t) method

Adds a horizontal page break to the collection.

int32_t Aspose::Cells::HorizontalPageBreakCollection::Add(int32_t row, int32_t startColumn, int32_t endColumn)
ParameterTypeDescription
rowint32_tRow index, zero based.
startColumnint32_tStart column index, zero based.
endColumnint32_tEnd column index, zero based.

ReturnValue

HorizontalPageBreak object index.

Remarks

This method is used to add a horizontal pagebreak within a print area.

See Also

HorizontalPageBreakCollection::Add(int32_t) method

Adds a horizontal page break to the collection.

int32_t Aspose::Cells::HorizontalPageBreakCollection::Add(int32_t row)
ParameterTypeDescription
rowint32_tCell row index, zero based.

ReturnValue

HorizontalPageBreak 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

HorizontalPageBreakCollection::Add(int32_t, int32_t) method

Adds a horizontal page break to the collection.

int32_t Aspose::Cells::HorizontalPageBreakCollection::Add(int32_t row, int32_t column)
ParameterTypeDescription
rowint32_tCell row index, zero based.
columnint32_tCell column index, zero based.

ReturnValue

HorizontalPageBreak 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

HorizontalPageBreakCollection::Add(const U16String&) method

Adds a horizontal page break to the collection.

int32_t Aspose::Cells::HorizontalPageBreakCollection::Add(const U16String &cellName)
ParameterTypeDescription
cellNameconst U16String&Cell name.

ReturnValue

HorizontalPageBreak 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

HorizontalPageBreakCollection::Add(const char16_t*) method

Adds a horizontal page break to the collection.

int32_t Aspose::Cells::HorizontalPageBreakCollection::Add(const char16_t *cellName)
ParameterTypeDescription
cellNameconst char16_t*Cell name.

ReturnValue

HorizontalPageBreak 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