LinePatternElement.GetLinePatternElementByName
Method
Description:
Retrieves the LinePatternElement by its name.
Retrieves the LinePatternElement by its name.
Syntax
public static LinePatternElement GetLinePatternElementByName(
Document document,
string name
)
Parameters
| Parameter | Type | Description |
|---|---|---|
| document | Document | The document in which to retrieve the LinePatternElement. |
| name | String | The name of the LinePatternElement. |
Return Value
| Type | Description |
|---|---|
| LinePatternElement | The LinePatternElement. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |