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





Glossary Item Box

Gets the Transparency Color

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property TransparentColor As System.Drawing.Color
Visual Basic (Usage)Copy Code
Dim instance As PngDecoder
Dim value As System.Drawing.Color
 
value = instance.TransparentColor
C# 
public System.Drawing.Color TransparentColor {get;}
JScript 
public function get TransparentColor : System.Drawing.Color
Managed Extensions for C++ 
public: __property System.Drawing.Color get_TransparentColor();
C++/CLI 
public:
property System.Drawing.Color TransparentColor {
   System.Drawing.Color get();
}

Remarks

The transparency color 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.