SpreadsheetOptionsForSplitSheetIntoPages Method (Int32, Int32) |
Namespace: GroupDocs.Viewer.OptionsAssembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 22.5
Syntaxpublic static SpreadsheetOptions ForSplitSheetIntoPages(
int countRowsPerPage,
int countColumnsPerPage
)
Public Shared Function ForSplitSheetIntoPages (
countRowsPerPage As Integer,
countColumnsPerPage As Integer
) As SpreadsheetOptions
public:
static SpreadsheetOptions^ ForSplitSheetIntoPages(
int countRowsPerPage,
int countColumnsPerPage
)
static member ForSplitSheetIntoPages :
countRowsPerPage : int *
countColumnsPerPage : int -> SpreadsheetOptions
Parameters
- countRowsPerPage
- Type: SystemInt32
Rows count to include into each page. - countColumnsPerPage
- Type: SystemInt32
Columns count to include into each page.
Return Value
Type:
SpreadsheetOptionsNew instance of
SpreadsheetOptions for rendering sheet into pages.
ExceptionsException | Condition |
---|
ArgumentException | Thrown when countRowsPerPage is equals or less than zero. |
ArgumentException | Thrown when countColumnsPerPage is equals or less than zero. |
See Also