FilterDialog(Document, ElementId)
Constructor
Description:
Constructs a new instance of the FilterDialog class, while setting the id of the FilterElement to be selected when the dialog is shown.
Constructs a new instance of the FilterDialog class, while setting the id of the FilterElement to be selected when the dialog is shown.
Remarks:
Show the dialog with the Show() method after setting the desired options.
Show the dialog with the Show() method after setting the desired options.
Parameters
Parameter | Type | Description |
---|---|---|
doc | Document | The document that owns the FilterElements displayed and edited in the dialog. |
filterToSelect | ElementId | The FilterElement to be selected. If InvalidElementId, then the first (if any) available FilterElement will be selected. |
Return Value
Exceptions
Exception | Condition |
---|---|
ArgumentException | The supplied ElementId filterToSelect is not of a FilterElement. |
ArgumentNullException | A non-optional argument was null |