CADability dotNET

The Filter type exposes the following members.

Methods

  NameDescription
Public methodAccept
Checks whether an IGeoObject is accepted by this filter. To realize custom filters, override this method.
Public methodAcceptType
Adds or removes the provided type to or from the list of accepted types. The type must be derived from IGeoObject.
Public methodAdd
Adds the provided attribute to the list of accepted attributes. CADability knows the following attributes: Layer, Layer, ColorDef, LineWidth, LinePattern, DimensionStyle, HatchStyle. If you have your own attributes which are unknown to CADability, you need to override this method to handle those attributes.
Public methodAdded (Overrides IShowPropertyImpl..::..Added(IPropertyTreeView).)
Public methodStatic memberConstruct
Constructs a ne Filter or Filter-derived object
Public methodContains
Checks whether the provided attribute would be accepted
Public methodGetContextMenu
Overrides GetContextMenu()()()(), returns the context menu with the id "MenuId.Filter". (see LoadContextMenu(String, ICommandHandler))
(Overrides IShowPropertyImpl..::..GetContextMenu()()()().)
Public methodGetObjectData
Public methodLabelChanged (Overrides IShowPropertyImpl..::..LabelChanged(String).)
Public methodRemove
Removes this attribute from the list of accepted attributes. For custom attributes see Accept(IGeoObject)

Explicit Interface Implementations

See Also