SelectableInViewFilter(Document, ElementId, Boolean)
Description:
Constructs a new instance of an SelectableInViewFilter, with the option to pass all non-selectable elements.
Constructs a new instance of an SelectableInViewFilter, with the option to pass all non-selectable elements.
Overloads (2):
SelectableInViewFilter(Document,ElementId,Boolean)
public SelectableInViewFilter(
Document document,
ElementId viewId,
bool inverted
)
-
documentThe document that owns the view.
-
viewIdThe view id.
-
BooleaninvertedTrue if the filter should match all elements not selectable in the given view.
-
viewId is not a view. -or- viewId is not valid for element iteration, because it has no way of representing drawn elements. Many view templates will fail this check.
-
A non-optional argument was null