Interface IStyleHolder
Represents style holders
Namespace: Syncfusion.DocIO.DLS
Assembly: Syncfusion.DocIO.Base.dll
Syntax
public interface IStyleHolder
Properties
StyleName
Gets the style name.
Declaration
string StyleName { get; }
Property Value
Type | Description |
---|---|
System.String | The string that represents the style name. |
Methods
ApplyStyle(BuiltinStyle)
Applies the built-in style.
Declaration
void ApplyStyle(BuiltinStyle builtinStyle)
Parameters
Type | Name | Description |
---|---|---|
BuiltinStyle | builtinStyle | The BuiltinStyle member that specifies the built-in style. |
ApplyStyle(String)
Applies a new style.
Declaration
void ApplyStyle(string styleName)
Parameters
Type | Name | Description |
---|---|---|
System.String | styleName | The string that represents the style name. |
Remarks
Specified style must exists in Document.Styles collection