Class CharacterStyleDefinition
Defines a custom character style that will be serialized to styles.xml.
Inherited Members
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public class CharacterStyleDefinition
Properties
Bold
Gets or sets bold.
Declaration
public bool Bold { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
BoldCs
Gets or sets bold cs.
Declaration
public bool BoldCs { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Id
Style identifier (e.g. "Emphasis"). Used as w:styleId attribute.
Declaration
public string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
IsQuickFormat
Gets or sets is quick format.
Declaration
public bool IsQuickFormat { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Italic
Gets or sets italic.
Declaration
public bool Italic { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Name
Style display name. Used as w:name value.
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Size
Font size in points (e.g. 24 for 24pt). 0 means inherit.
Declaration
public double Size { get; set; }
Property Value
| Type | Description |
|---|---|
| double |