LEADTOOLS (Leadtools assembly)
LEAD Technologies, Inc

Transparent Property






Gets or sets a value that indicates whether to use the transparent color. .NET support Silverlight support WinRT support
Syntax
public bool Transparent {get; set;}
'Declaration
 
Public Property Transparent As Boolean
'Usage
 
Dim instance As RasterImage
Dim value As Boolean
 
instance.Transparent = value
 
value = instance.Transparent
public bool Transparent {get; set;}
 get_Transparent();
set_Transparent(value);
public:
property bool Transparent {
   bool get();
   void set (    bool value);
}

Property Value

true to use the transparent color; false, otherwise.
Remarks

The TransparentColor of a RasterImage is used when the Transparent property value is set to true.

Note, transparent paint does not work with RasterPaintEngine.Gdi. For more information, refer to Leadtools.Drawing.RasterPaintProperties.

For more information, refer to PNG Files and Transparency.

Example
For an example, refer to TransparentColor.
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

Reference

RasterImage Class
RasterImage Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.