Share via


Style Object

SharePoint Designer Developer Reference

Represents a style attribute for the cascading style sheet (CSS) for an HTML element.

Interfaces
This object implements the following interfaces

Remarks

Use the style property to return a Style object. The following example accesses the style attribute for the body of the active document.

Visual Basic for Applications
Dim objStyle As Style
Set objStyle = ActiveDocument.body.Style

See Also