Visit Gigasoft's Web Site
 ProEssentials v9 Help

SubsetColors

Scope

Pego, Pesgo, Pe3do, Pepso, Pepco

Type

Property Array of type Color/Int32

Default

RGB(255,255,255) RGB(0,255,0) RGB(0,0,255) RGB(255,255,0)RGB(255,0,255) RGB(255,0,0) RGB(0,255,255) RGB(192,192,192) RGB(80,80,80) RGB(128,0,128) RGB(0,128,0) RGB(128,128,128) RGB(0,128,128) RGB(0,0,128) RGB(128,0,0) RGB(128,128,0)

.NET

PeColor.SubsetColors

Ocx|Vcl

SubsetColors

DLL

PEP_dwaSUBSETCOLORS

 

Purpose

This property array controls which colors are used to distinguish between multiple subset information in the objects image.

 

Comments

PeColor.SubsetColors members of Pego.PeColor, Pesgo.PeColor, Pe3do.PeColor, Pepso.PeColor, Pepco.PeColor

 

SubsetShades is used to control subset color information for the monochrome-version of the image.

 

See Also: PointColors, SpecificPlotModeColor, SubsetLineTypes, SubsetPointTypes, LegendLocation , SubsetForPointColors

 

Within the demo, see example 000.

 

WinForm VB.NET Example

'* the Subsets property is equal to 3 *'

Pego1.PeColor.SubsetColors(0) = Color.Red

Pego1.PeColor.SubsetColors(1) = Color.Blue

Pego1.PeColor.SubsetColors(2) = Color.Green

 

OCX Example

'* the Subsets property is equal to 3 *'

PEGraph1.SubsetColors(0) = QBColor(1) First Subset

PEGraph1.SubsetColors(1) = QBColor(4) Second Subset

PEGraph1.SubsetColors(2) = QBColor(7) Third Subset

 

VCL Example

{* the Subsets property is equal to 3 *}

PEGraph1.SubsetColors[0] := clRed; {First Subset}

PEGraph1.SubsetColors[1] := clGreen; {Second Subset}

PEGraph1.SubsetColors[2] := clBlue; {Third Subset}

 

C / C++ Example

/* the Subsets property is equal to 3 */

DWORD dwSubsetColors[3];

dwSubsetColors[0] = RGB(255, 0, 0); // First Subset

dwSubsetColors[1] = RGB(0, 255, 0); // Second Subset

dwSubsetColors[2] = RGB(0, 0, 255); // Third Subset

PEvset (hWndPE, PEP_dwaSUBSETCOLORS, dwSubsetColors, 3);

 

For Contour plots as part of Pesgo, this property controls colors for contour regions. Within demo, see example 120.