←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 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.