ImageMan.Net Version 3 Summer 2012 Release
TransparentIndex Property
See Also  Send Feedback
DTI.ImageMan.Codecs Namespace > PngAttributes Class : TransparentIndex Property

Glossary Item Box

Gets or Sets the Transparency Index


Visual Basic (Declaration) 
Public Property TransparentIndex As System.Integer
Visual Basic (Usage)Copy Code
Dim instance As PngAttributes
Dim value As System.Integer
instance.TransparentIndex = value
value = instance.TransparentIndex
public TransparentIndex {get; set;}
public function get,set TransparentIndex :
Managed Extensions for C++ 
public: __property get_TransparentIndex();
public: __property void set_TransparentIndex( value
property TransparentIndex { get();
   void set ( value);


The transparency palette index will allow the background color to show through.

Transparency information can be represented by three properties: TransparentIndex, TransparentColor, or a TransparencyArray. These options are exclusive of each other. Precedence is given to TransparentColor, then TransparentIndex and finally TransparencyArray.

The background color will display through where the image is translucent.


Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.