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





Glossary Item Box

Gets or sets the Transparency Index

Syntax

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

Remarks

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.

Requirements

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.