NShape Reference
IStyleSet Interface

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape >

NShape Reference
IStyleSet Interface

Previous pageReturn to chapter overviewNext page

Provides a set of styles.

Syntax

public interface IStyleSet

Description

Objects, especially shapes, that need to select a style turn to a style set. One scenario is a shape that is not created from a template but from scratch. It needs to choose appropriate styles for its style properties from the current style set of the project. Therefore the shape constructor has an IStyleSet parameter. The current style set is provided by an IStyleSetProvider.

Public Methods

Name

Description

GetPreviewStyle

Gets a preview style associated with the given style.

Public Properties

Name

Description

CapStyles

Provides access to a style collection implementing the ICapStyles interface.

CharacterStyles

Provides access to a style collection implementing the ICharacterStyles interface.

ColorStyles

Provides access to a style collection implementing the IColorStyles interface.

FillStyles

Provides access to a style collection implementing the IFillStyles interface.

LineStyles

Provides access to a style collection implementing the ILineStyles interface.

ParagraphStyles

Provides access to a style collection implementing the IParagraphStyles interface.

GetPreviewStyle

Returns the preview style associated with the given style.

Requirements

Namespace: Dataweb.NShape

Assembly: Dataweb.NShape