FilledRegion.IsValidLineStyleIdForFilledRegion
Method
Description:
Indicates whether the given Id is a valid line style Id.
Indicates whether the given Id is a valid line style Id.
Syntax
public static bool IsValidLineStyleIdForFilledRegion(
Document document,
ElementId lineStyleId
)
Parameters
Parameter | Type | Description |
---|---|---|
document | Document | The document. |
lineStyleId | ElementId | The line style Id. |
Return Value
Type | Description |
---|---|
Boolean | True if it is a valid line style Id, false otherwise. |
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |