Visit Gigasoft's Web Site
 ProEssentials v11 Help

ResourceBmpColorize

Scope

Pego, Pesgo, Pepso

Type

Int32

Default

0

JS / .NET

PePlot.Bitmaps.ColorizeMode

OCX / VCL

ResourceBmpColorize

DLL

PEP_bRESOURCEBMPCOLORIZE

 

Purpose

Setting Mask(1) or Tint(2) will cause the bitmap to transform to the color defined by SubsetColors or GraphAnnotationColor. Reducing your need to define bitmaps of varying colors.  

 

It is important to first set the related color property before setting this property, as setting this property will pre load and colorize the resource. 

 

Set WorkingResourceBmp prior to seting this property.  
 

.NET Gigasoft.Enums.

ActiveX and

 

ResourceBitmapColorizeMode.

DLL Constants

Description

None

PERBC_NONE (0)

Bitmap drawn in its native color.

Mask

PERBC_MASK (1)

All visible pixels swapped to new color.

Tint

PERBC_TINT (2)

White-Gray highlights preserved.

 

 

Comments

 

See demo examples 015, 140, 142, and 143 for examples of resource bitmaps. 

 

Note that the .Net interfaces expanded this property and is now mamed ColorizeMode.  The legacy version Colorize was defined as a BOOL controlling Mask only. 

 

PePlot.Bitmaps.Colorize members of Pego.PePlot.Bitmaps, Pesgo.PePlot.Bitmaps, Pepso.PePlot.Bitmaps,

 

See Also: ResourceBmpStyle, ResourceBmpFilename