• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class CharacterStyleDefinition

Defines a custom character style that will be serialized to styles.xml.

Inheritance
object
CharacterStyleDefinition
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
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
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX