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



Gets or sets a value that indicates whether to use the transparent color.

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);
}

Return 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 RasterPaintProperties.

For more information, refer to PNG Files and Transparency.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also