[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.PaginationOrientation

PaginationOrientation Enum

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.

Namespace: GrapeCity.Documents.Excel
Assembly: DS.Documents.Excel.dll
Syntax
public enum PaginationOrientation
Public Enum PaginationOrientation
Examples
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);

Fields

Name Description
Horizontal

Horizontal orientation.

Vertical

Vertical orientation.