VisibleInViewFilter(Document, ElementId, Boolean)
Description:
Constructs a new instance of a VisibleInViewFilter, with the option to pass all non-visible elements.
Constructs a new instance of a VisibleInViewFilter, with the option to pass all non-visible elements.
Overloads (2):
VisibleInViewFilter(Document,ElementId,Boolean)
public VisibleInViewFilter(
Document document,
ElementId viewId,
bool inverted
)
-
documentThe document that owns the view.
-
viewIdThe view id.
-
BooleaninvertedTrue if the filter should match all elements not visible 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