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;} |
Property 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 Leadtools.Drawing.RasterPaintProperties.
For more information, refer to PNG Files and Transparency.
Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7