AppearanceAssetElement.GetAppearanceAssetElementByName
Method
Description:
Gets an AppearanceAssetElement by name.
Gets an AppearanceAssetElement by name.
Syntax
public static AppearanceAssetElement GetAppearanceAssetElementByName(
Document doc,
string name
)
Parameters
| Parameter | Type | Description |
|---|---|---|
| doc | Document | Document containing the AppearanceAssetElement. |
| name | String | Name of the AppearanceAssetElement. |
Return Value
| Type | Description |
|---|---|
| AppearanceAssetElement | The AppearanceAssetElement with the given name, or if this element does not exist. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |