←Select platform

Transparent Property

Summary

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

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public bool Transparent { get; set; } 
Public Property Transparent As Boolean 
public bool Transparent {get; set;} 
@property (nonatomic, assign) BOOL isTransparent 
public boolean getTransparent() 
public void setTransparent(boolean value) 
             
 <br/>get_Transparent();<br/>set_Transparent(value);<br/>Object.defineProperty('Transparent');  
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly