ImageExportOptions.SetViewsAndSheets Method

ImageExportOptionsSetViewsAndSheets Method

Sets a list of views and sheets to be exported. Used only when ExportRange is SetOfViews.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void SetViewsAndSheets(
	IList<ElementId> viewsAndSheets
)
Public Sub SetViewsAndSheets ( 
	viewsAndSheets As IList(Of ElementId)
)
public:
void SetViewsAndSheets(
	IList<ElementId^>^ viewsAndSheets
)
member SetViewsAndSheets : 
        viewsAndSheets : IList<ElementId> -> unit 

Parameters

viewsAndSheets  IListElementId
The ids of the views and sheets.
Exceptions
ExceptionCondition
ArgumentNullException A non-optional argument was null
See Also