Copyright © 2003-2024 MultiMedia Soft

CellsManager.PictureTranspFactor property

Previous pageReturn to chapter overviewNext page

Type

[Visual Basic]

Public Function CellsManager.get_PictureTranspFactor(UniqueID as Short) As Short

Public Sub CellsManager.set_PictureTranspFactor(UniqueID as Short, Short)

 

[C#]

public short CellsManager.get_PictureTranspFactor(short UniqueID);

public void CellsManager.set_PictureTranspFactor(short UniqueID, short);

 

[C++]

public: short CellsManager.get_PictureTranspFactor(short UniqueID);

public: void CellsManager.set_PictureTranspFactor(short UniqueID, short);

 

 

Remarks

Applies alpha channel transparency to the picture displayed over the cell identified by the UniqueID parameter.

This property value can range from a default value of 0 (total opacity) to a value of 255 (total transparency). A value entered out of this range produces a value of  0.

Below you can see two buttons: the left one has a cell with a picture inside whose CellsManager.PictureTranspFactor property is set to 0, the cell on the right one has a picture with the CellsManager.PictureTranspFactor property set to 128.

3dcm_i0000f2

 

 

See also

CellsManagerDesc class.

CellsManager property.

How to manage cells section.

How to manage alpha channel transparency section.