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

ViewSheet.DeleteViewport

Method
Description:
Removes a viewport from the sheet by deleting it from the document.
Syntax
public void DeleteViewport(
	Viewport viewport
)
Parameters
Parameter Type Description
viewport Viewport The viewport that will be deleted and removed from the sheet.
Return Value
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null