SetElementStyle(ElementStyle,Boolean) Method
In This Topic
Sets the style for the element and clears unset properties.
Syntax
'Declaration
Public Overloads Overridable Sub SetElementStyle( _
ByVal As ElementStyle, _
ByVal As Boolean _
)
'Usage
Dim instance As PSShape
Dim style As ElementStyle
Dim clearUnsetProps As Boolean
instance.SetElementStyle(style, clearUnsetProps)
public virtual void SetElementStyle(
ElementStyle ,
bool
)
Parameters
- style
- ElementStyle object that contains the element style
- clearUnsetProps
- Whether to reset properties that are not set in the element to their default settings
See Also