ForSplitSheetIntoPages

ForSplitSheetIntoPages(int)

Initializes new instance of SpreadsheetOptions for rendering sheet into pages.

public static SpreadsheetOptions ForSplitSheetIntoPages(int countRowsPerPage)
Parameter Type Description
countRowsPerPage Int32 Rows count to include into each page.

Return Value

New instance of SpreadsheetOptions for rendering sheet into pages.

Exceptions

exception condition
ArgumentException Thrown when countRowsPerPage is equals or less than zero.

See Also


ForSplitSheetIntoPages(int, int)

Initializes new instance of SpreadsheetOptions for rendering sheet into pages.

public static SpreadsheetOptions ForSplitSheetIntoPages(int countRowsPerPage, 
    int countColumnsPerPage)
Parameter Type Description
countRowsPerPage Int32 Rows count to include into each page.
countColumnsPerPage Int32 Columns count to include into each page.

Return Value

New instance of SpreadsheetOptions for rendering sheet into pages.

Exceptions

exception condition
ArgumentException Thrown when countRowsPerPage is equals or less than zero.
ArgumentException Thrown when countColumnsPerPage is equals or less than zero.

See Also