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

Glossary Item Box

Gets or sets the transparent color.


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

Property Value

The transparent color.


By using the Transparent Color in combination with ColorMatchTolerance an image can make a whole section or the background color of the image transparent. If the image has been dithered then you may need to increase the ColorMatchTolerance to get the desired results.


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.