Copyright © 2003-2024 MultiMedia Soft

TextDescriptor.TransparentFactor property

Previous pageReturn to chapter overviewNext page

Type

[Visual Basic]

Public Property TransparentFactor As Short

 

[C#]

public short TransparentFactor {get; set;}

 

[C++]

public: __property short get_TransparentFactor();

public: __property void set_TransparentFactor(short);

 

 

Remarks

Applies alpha channel transparency to text.

This property value can range from 0 (default) that means total opacity to 255 that means total transparency; entering an out of bounds value will cause the control to reset the value to the nearest in-bound value.

Below you can see a sample of two identical buttons, the left one with the property set to 0 (total opacity) and the right one with the property set to 128.

3dcm_i0000f0

 

 

See also

TextDescriptor class.

TextDescrCaption, TextDescrLT, TextDescrCT, TextDescrRT, TextDescrLM, TextDescrRM, TextDescrLB, TextDescrCB, and TextDescrRB properties.

How to add text to the control section.

How to manage cells section.

How to manage alpha channel transparency section.