CADability dotNET
The Filter type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Accept |
Checks whether an IGeoObject is accepted by this filter.
To realize custom filters, override this method.
| |
| AcceptType |
Adds or removes the provided type to or from the list of accepted types. The type
must be derived from IGeoObject.
| |
| Add |
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.
| |
| Added |
Overrides Added(IPropertyTreeView) (Overrides IShowPropertyImpl..::..Added(IPropertyTreeView).) | |
| Construct |
Constructs a ne Filter or Filter-derived object
| |
| Contains |
Checks whether the provided attribute would be accepted
| |
| GetContextMenu |
Overrides GetContextMenu()()()(),
returns the context menu with the id "MenuId.Filter".
(see LoadContextMenu(String, ICommandHandler))
(Overrides IShowPropertyImpl..::..GetContextMenu()()()().) | |
| GetObjectData | ||
| LabelChanged | (Overrides IShowPropertyImpl..::..LabelChanged(String).) | |
| Remove |
Removes this attribute from the list of accepted attributes. For custom attributes see Accept(IGeoObject) |