NShape Reference
Style Class

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape >

NShape Reference
Style Class

Previous pageReturn to chapter overviewNext page

Base class for all styles.

Syntax

public class Style : IStyle

Description

Public Properties

Name

Description

Name

The name of the style, used to identify it in a style collection. Has to unique in a style collection.

Title

The displayed title of the style.

Public Methods

Name

Description

Assign

Copies all properties of a given style into the current style.

ToString

Returns the style's title.

Protected Properties

Name

Description

EmptyStyleName

Specifies the name for an empty (undefined) style.

Protected Methods

Name

Description

Constructor

 

IsStandardName

Returns true if the style's name is a reserved standard name defined by StandardStyleNames. Standard styles exist in every design and cannot be deleted or renamed.

Derived Classes

Derived classes are:

CapStyle

CharacterStyle

ColorStyle

FillStyle

LineStyle

ParagraphStyle

Requirements

Namespace: Dataweb.NShape

Assembly: Dataweb.NShape