SpreadsheetOptionsForSplitSheetIntoPages Method (Int32, Int32)
Initializes new instance of SpreadsheetOptions for rendering sheet into pages.

Namespace: GroupDocs.Viewer.Options
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 21.11
Syntax
public static SpreadsheetOptions ForSplitSheetIntoPages(
	int countRowsPerPage,
	int countColumnsPerPage
)

Parameters

countRowsPerPage
Type: SystemInt32
Rows count to include into each page.
countColumnsPerPage
Type: SystemInt32
Columns count to include into each page.

Return Value

Type: SpreadsheetOptions
New instance of SpreadsheetOptions for rendering sheet into pages.
Exceptions
ExceptionCondition
ArgumentExceptionThrown when countRowsPerPage is equals or less than zero.
ArgumentExceptionThrown when countColumnsPerPage is equals or less than zero.
See Also