[]
Specifies whether pagination is calculated horizontally or vertically.
Use this enum with GetPaginationInfo(IWorksheet, PaginationOrientation) to choose whether page boundaries are returned as column indexes for horizontal paging or row indexes for vertical paging. Pagination is based on the current worksheet page setup.
public enum PaginationOrientation
Public Enum PaginationOrientation
worksheet.Range["A1:C6"].Value = new object[,] {
{"Name", "Q1", "Q2"},
{"North", 100, 120},
{"South", 90, 110}
};
PrintManager printManager = new PrintManager();
object pageBreaks = printManager.GetPaginationInfo(worksheet, PaginationOrientation.Horizontal);
| Name | Description |
|---|---|
| Horizontal | Horizontal orientation. |
| Vertical | Vertical orientation. |