HorizontalPageBreakCollection.Add
Add(int, int, int)
Adds a horizontal page break to the collection.
public int Add(int row, int startColumn, int endColumn)
Parameter | Type | Description |
---|---|---|
row | Int32 | Row index, zero based. |
startColumn | Int32 | Start column index, zero based. |
endColumn | Int32 | End column index, zero based. |
Return Value
HorizontalPageBreak
object index.
Remarks
This method is used to add a horizontal pagebreak within a print area.
See Also
- class HorizontalPageBreakCollection
- namespace Aspose.Cells
- assembly Aspose.Cells
Add(int)
Adds a horizontal page break to the collection.
public int Add(int row)
Parameter | Type | Description |
---|---|---|
row | Int32 | Cell row index, zero based. |
Return Value
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
- class HorizontalPageBreakCollection
- namespace Aspose.Cells
- assembly Aspose.Cells
Add(int, int)
Adds a horizontal page break to the collection.
public int Add(int row, int column)
Parameter | Type | Description |
---|---|---|
row | Int32 | Cell row index, zero based. |
column | Int32 | Cell column index, zero based. |
Return Value
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
- class HorizontalPageBreakCollection
- namespace Aspose.Cells
- assembly Aspose.Cells
Add(string)
Adds a horizontal page break to the collection.
public int Add(string cellName)
Parameter | Type | Description |
---|---|---|
cellName | String | Cell name. |
Return Value
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
- class HorizontalPageBreakCollection
- namespace Aspose.Cells
- assembly Aspose.Cells