2025.3 Constructor
Changes 1
C

VisibleInViewFilter(Document, ElementId, Boolean)

Description:
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
)
  • document
    The document that owns the view.
  • viewId
    The view id.
  • Boolean
    inverted
    True 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