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

Glossary Item Box

Gets or sets the Background color for images with transparency.


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


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.


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.