←Select platform

Transparent Property

Summary

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

Syntax
C#
VB
Objective-C
C++
Java
public bool Transparent { get; set; } 
Public Property Transparent As Boolean 
@property (nonatomic, assign) BOOL isTransparent 
public boolean getTransparent() 
public void setTransparent(boolean value) 
public: 
property bool Transparent { 
   bool get(); 
   void set (    bool ); 
} 

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

For more information, refer to PNG Files and Transparency.

Example

For an example, refer to TransparentColor.

Requirements

Target Platforms

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly