LEADTOOLS (Leadtools assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Transparent Property
See Also 
Leadtools Namespace > RasterImage Class : Transparent Property



Gets or sets a value that indicates whether to use the transparent color. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Property Transparent As Boolean
Visual Basic (Usage)Copy Code
Dim instance As RasterImage
Dim value As Boolean
 
instance.Transparent = value
 
value = instance.Transparent
C# 
public bool Transparent {get; set;}
C++/CLI 
public:
property bool Transparent {
   bool get();
   void set (    bool value);
}

Property Value

true to use the transparent color, otherwise; false.

Example

For an example, refer to TransparentColor.

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.

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7

See Also