NShape Reference
ColorStyle Constructor

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape > ColorStyle Class >

NShape Reference
ColorStyle Constructor

Previous pageReturn to chapter overviewNext page

Constructs a color style instance.

Syntax

public ColorStyle(string name, Color color)

public ColorStyle(string name, Color color, byte transparency)

Description

Constructs a color style instance.

Parameters

Name

Description

name

Unique name of the style.

color

Base color of the style.

transparency


Return Value

Absolute coordinates of the point defined by relativePosition.

Exceptions

Exception

Condition

ArgumentOutOfRangeException

Parameter transparency is < 0 or > 100.