ImageThemingUtilities.GrayscaleDIBits Method
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Public Shared Sub GrayscaleDIBits ( _
pixels As Byte(), _
pixelLength As Integer, _
biasColor As Color _
)
public static void GrayscaleDIBits(
byte[] pixels,
int pixelLength,
Color biasColor
)
public:
static void GrayscaleDIBits(
array<unsigned char>^ pixels,
int pixelLength,
Color biasColor
)
static member GrayscaleDIBits :
pixels:byte[] *
pixelLength:int *
biasColor:Color -> unit
public static function GrayscaleDIBits(
pixels : byte[],
pixelLength : int,
biasColor : Color
)
Parameters
- pixels
Type: array<System.Byte[]
- pixelLength
Type: System.Int32
- biasColor
Type: System.Windows.Media.Color
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.