Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
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;}
Managed Extensions for C++ 
public: __property bool get_Transparent();
public: __property void set_Transparent( 
   bool value
);
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 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also