RVTDocs.com
Namespace: Autodesk.Revit.DB Class: ViewSheet

ViewSheet.Duplicate(SheetDuplicateOption)

Method
Description:
Duplicates this sheet to generate a new one.
Syntax
public ElementId Duplicate(
	SheetDuplicateOption duplicateOption
)
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