[EditorBrowsableAttribute(EditorBrowsableState.Always)]
public static Bitmap ToGrayscale(
this Bitmap sender,
GrayscaleLevel grayScaleLevel,
GraphicsQualityContainer quality
)
<ExtensionAttribute>
<EditorBrowsableAttribute(EditorBrowsableState.Always)>
Public Shared Function ToGrayscale (
sender As Bitmap,
grayScaleLevel As GrayscaleLevel,
quality As GraphicsQualityContainer
) As Bitmap
Dim sender As Bitmap
Dim grayScaleLevel As GrayscaleLevel
Dim quality As GraphicsQualityContainer
Dim returnValue As Bitmap
returnValue = sender.ToGrayscale(grayScaleLevel,
quality)
public:
[ExtensionAttribute]
[EditorBrowsableAttribute(EditorBrowsableState::Always)]
static Bitmap^ ToGrayscale(
Bitmap^ sender,
GrayscaleLevel grayScaleLevel,
GraphicsQualityContainer^ quality
)
[<ExtensionAttribute>]
[<EditorBrowsableAttribute(EditorBrowsableState.Always)>]
static member ToGrayscale :
sender : Bitmap *
grayScaleLevel : GrayscaleLevel *
quality : GraphicsQualityContainer -> Bitmap
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.
Dim img As Image = Bitmap.FromFile("C:\File.png").ToGrayscale(GrayScaleTone.Light)
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.