Class Style
Inherits from TextStyle and provides additional styling options for text within IronWord documents.
Implements
System.ICloneable
Inherited Members
Namespace: IronWord.Models
Assembly: IronWord.dll
Syntax
public class Style : DocumentStyle, ICloneable
Constructors
Style()
Declaration
public Style()
Properties
BasedOn
Gets or sets the name of the style this style is based on.
Declaration
public string BasedOn { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
IsPrimaryStyle
Gets or sets a value indicating whether this style is the primary style.
Declaration
public Nullable<bool> IsPrimaryStyle { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
NextParagraphStyle
Gets or sets the name of the style to be applied to the next paragraph.
Declaration
public string NextParagraphStyle { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ParagraphStyle
Gets or sets the paragraph formatting properties of the style.
Declaration
public ParagraphStyle ParagraphStyle { get; set; }
Property Value
| Type | Description |
|---|---|
| ParagraphStyle |
StyleName
Gets or sets the name of the style.
Declaration
public string StyleName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
StyleType
Gets or sets the type of the style.
Declaration
public Nullable<StyleValues> StyleType { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<StyleValues> |
TextStyle
Gets or sets the text formatting properties of the style.
Declaration
public TextStyle TextStyle { get; set; }
Property Value
| Type | Description |
|---|---|
| TextStyle |
Methods
Clone()
Declaration
public override object Clone()
Returns
| Type | Description |
|---|---|
| System.Object |
Overrides
Implements
System.ICloneable