Visual Basic (Declaration) | |
---|---|
Public Property Transparent As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public bool Transparent {get; set;} |
Return Value
true to use the transparent color, otherwise; false.For an example, refer to TransparentColor.
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.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family