Style.setAttribute Method
SharePoint Designer Developer Reference |
Sets the attribute for an inline style.
Syntax
expression.setAttribute(strAttributeName, lFlags)
expression Required. A variable that represents a Style object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
strAttributeName | Required | String | The name of the attribute. |
AttributeValue | Required | Variant | The value of the attribute. |
lFlags | Optional | Long | The value of the object. |
Remarks
Use the setAttribute method to programmatically set a read-only property that has a corresponding attribute or an attribute for which there is no property in the Office SharePoint Designer object model.
See Also