Viewport.IsViewIdValidForViewport
Method
Description:
Verifies that the Viewport can change it's view id to the input %viewId%.
Verifies that the Viewport can change it's view id to the input %viewId%.
Parameters
Parameter | Type | Description |
---|---|---|
viewId | ElementId | The view which will be checked to see if it can be applied to Viewport. |
Return Value
Type | Description |
---|---|
Boolean | True if the %viewId% is valid for the viewport, false otherwise. |
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |