Visual Basic (Declaration) | |
---|---|
Public Overridable Sub ResetPictureTransparencyColor() |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As ElementWindowless instance.ResetPictureTransparencyColor() |
C# | |
---|---|
public virtual void ResetPictureTransparencyColor() |
Use this method to reset the PictureTransparencyColor property to its default value.
csharp | Copy Code |
---|---|
control.Picture = Image.FromFile("d:\overlay.bmp"); control.MarginTop = 3; control.MarginBottom = 3; control.PictureTransparencyColor = Color.Blue; private void button1_Click(object sender, System.EventArgs e) { control.ResetPictureTransparencyColor() } |
Visual Basic | Copy Code |
---|---|
control.Picture = Image.FromFile("d:\overlay.bmp") control.MarginTop = 3 control.MarginBottom = 3 control.PictureTransparencyColor = Color.Blue Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click control.ResetPictureTransparencyColor() End Sub |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2