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

Class Style

Defines reusable character, paragraph, and list formatting.

Inheritance
object
Style
TableStyle
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 Style

Properties

Aliases

Gets all aliases of this style. If style has no aliases then empty array of string is returned.

Declaration
public string[] Aliases { get; }
Property Value
Type Description
string[]

BaseStyleName

Gets/sets the name of the style this style is based on.

Declaration
public string BaseStyleName { get; set; }
Property Value
Type Description
string

BuiltIn

True if this style is one of the built-in styles in MS Word.

Declaration
public bool BuiltIn { get; }
Property Value
Type Description
bool

Document

Gets the document that owns this style.

Declaration
public DocumentBase Document { get; }
Property Value
Type Description
DocumentBase

Font

Gets or sets the character formatting associated with this style.

Declaration
public Font Font { get; set; }
Property Value
Type Description
Font

Id

Gets or sets the Open XML style identifier.

Declaration
public string Id { get; set; }
Property Value
Type Description
string

IsHeading

True when the style is one of the built-in Heading styles.

Declaration
public bool IsHeading { get; }
Property Value
Type Description
bool

IsQuickStyle

Specifies whether this style is shown in the Quick Style gallery inside MS Word UI.

Declaration
public bool IsQuickStyle { get; set; }
Property Value
Type Description
bool

LinkedStyleName

Gets the name of the style linked to this style, if any.

Declaration
public string LinkedStyleName { get; }
Property Value
Type Description
string

List

Gets the list definition associated with this style.

Declaration
public List List { get; }
Property Value
Type Description
List

Name

Gets or sets the style display name.

Declaration
public string Name { get; set; }
Property Value
Type Description
string

StyleType

Gets or sets the category of this style.

Declaration
public StyleType StyleType { get; set; }
Property Value
Type Description
StyleType
Back to top

DR-IT Software documentation

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

Generated by DocFX