Copyright © 2003-2010 MultiMedia Soft

SurfaceTransparentZone property

Previous pageReturn to chapter overviewNext page

Type

[Visual Basic]

Public Property SurfaceTransparentZone As Ctl3d.TranspZones

 

[C#]

public Ctl3d.TranspZones SurfaceTransparentZone {get; set;}

 

[C++]

public: __property Ctl3d.TranspZones get_SurfaceTransparentZone();

public: __property void set_SurfaceTransparentZone(Ctl3d.TranspZones);

 

 

Remarks

The zone affected by alpha channel transparency, set through the SurfaceTransparentFactor property, when a special effect is applied

Notes: This property is useful only if a special effect has been applied through the SpecialEffect property.

Supported values are the following (The examples on this page are from Raised buttons):

Mnemonic constant

Value

Meaning

TranspZones.WholeButton

0 (default)

The whole button surface is affected by transparency

3dcm_i0000ea

TranspZones.OutsideButton

1

Only the external part of the special effect is affected by transparency

3dcm_i0000eb

TranspZones.InsideButton

2

Only the internal part of the special effect is affected by transparency

3dcm_i0000ec

 

 

See also

How to manage alpha channel transparency section.