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

Glossary Item Box

Gets or Sets the Transparency Color


Visual Basic (Declaration) 
Public Property TransparentColor As System.Drawing.Color
Visual Basic (Usage)Copy Code
Dim instance As PngAttributes
Dim value As System.Drawing.Color
instance.TransparentColor = value
value = instance.TransparentColor
public System.Drawing.Color TransparentColor {get; set;}
public function get,set TransparentColor : System.Drawing.Color
Managed Extensions for C++ 
public: __property System.Drawing.Color get_TransparentColor();
public: __property void set_TransparentColor( 
   System.Drawing.Color value
property System.Drawing.Color TransparentColor {
   System.Drawing.Color get();
   void set (    System.Drawing.Color value);


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.


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.