Parameters
- sheet
- Sheet index
- showPrintButton
- Whether to display the Print button
- showPreviewButton
- Whether to display the Print Preview button
Exception | Description |
---|---|
System.ArgumentOutOfRangeException | Specified sheet index is out of range; must be between 0 and the total number of sheets. |