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





Glossary Item Box

Gets the Background color for images with transparency.

Syntax

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

Remarks

If this image uses a TransparentIndex, TransparentColor, or has a TransparencyArray the background Color will display through where the image is translucent in direct relation to the opacity of the Alpha channel.

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.