ForSplitSheetIntoPages
Contents
 [
        
            Hide
        ]
    ForSplitSheetIntoPages(int)
Initializes an instance of the SpreadsheetOptions class for rendering sheet into pages.
public static SpreadsheetOptions ForSplitSheetIntoPages(int countRowsPerPage)
| Parameter | Type | Description | 
|---|---|---|
| countRowsPerPage | Int32 | Count of rows to include into each page. | 
Return Value
New instance of the SpreadsheetOptions class for rendering sheet into pages.
Exceptions
| exception | condition | 
|---|---|
| ArgumentException | Thrown when countRowsPerPage is equals or less than zero. | 
Remarks
For details, see the documentation.
See Also
- class SpreadsheetOptions
 - namespace GroupDocs.Viewer.Options
 - assembly GroupDocs.Viewer
 
ForSplitSheetIntoPages(int, int)
Initializes an instance of the SpreadsheetOptions class for rendering sheet into pages.
public static SpreadsheetOptions ForSplitSheetIntoPages(int countRowsPerPage, 
    int countColumnsPerPage)
| Parameter | Type | Description | 
|---|---|---|
| countRowsPerPage | Int32 | Count of rows to include into each page. | 
| countColumnsPerPage | Int32 | Count of columns to include into each page. | 
Return Value
New instance of the SpreadsheetOptions class 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. | 
Remarks
For details, see the documentation.
See Also
- class SpreadsheetOptions
 - namespace GroupDocs.Viewer.Options
 - assembly GroupDocs.Viewer