[EditorBrowsableAttribute(EditorBrowsableState.Always)]
public static Region GetRegionReverse(
this Bitmap bitmap,
Color transparencyKey,
byte tolerance
)
<ExtensionAttribute>
<EditorBrowsableAttribute(EditorBrowsableState.Always)>
Public Shared Function GetRegionReverse (
bitmap As Bitmap,
transparencyKey As Color,
tolerance As Byte
) As Region
Dim bitmap As Bitmap
Dim transparencyKey As Color
Dim tolerance As Byte
Dim returnValue As Region
returnValue = bitmap.GetRegionReverse(transparencyKey,
tolerance)
public:
[ExtensionAttribute]
[EditorBrowsableAttribute(EditorBrowsableState::Always)]
static Region^ GetRegionReverse(
Bitmap^ bitmap,
Color transparencyKey,
unsigned char tolerance
)
[<ExtensionAttribute>]
[<EditorBrowsableAttribute(EditorBrowsableState.Always)>]
static member GetRegionReverse :
bitmap : Bitmap *
transparencyKey : Color *
tolerance : byte -> Region
No code example is currently available or this language may not be supported.
[Missing <param name="transparencyKey"/> documentation for "M:DevCase.Extensions.BitmapExtensions.BitmapExtensions.GetRegionReverse(System.Drawing.Bitmap,System.Drawing.Color,System.Byte)"]
[Missing <param name="tolerance"/> documentation for "M:DevCase.Extensions.BitmapExtensions.BitmapExtensions.GetRegionReverse(System.Drawing.Bitmap,System.Drawing.Color,System.Byte)"]
No code example is currently available or this language may not be supported.
Public Class Form1 : Inherits Form
Public Sub New()
' This call is required by the designer.
InitializeComponent()
' Needed to make a custom shaped Form.
Me.FormBorderStyle = FormBorderStyle.None
Me.Width = Me.BackgroundImage.Width
Me.Height = Me.BackgroundImage.Height
' Shape the Form
Me.Region = Me.BackgroundImage.GetRegionReverse(Color.FromArgb(0, 255, 0), 100)
End Sub
End Class
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.