ViewSheet.Duplicate(SheetDuplicateOption)
Method
Description:
Duplicates this sheet to generate a new one.
Duplicates this sheet to generate a new one.
Parameters
Parameter | Type | Description |
---|---|---|
duplicateOption | SheetDuplicateOption | The option to use when duplicating the sheet. |
Return Value
Type | Description |
---|---|
ElementId | The id of the newly created sheet. |
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |
InvalidOperationException | Sheet cannot be duplicated |