ImageThemingUtilities.GrayscaleDIBits Method
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣告
Public Shared Sub GrayscaleDIBits ( _
pixels As Byte(), _
pixelLength As Integer, _
biasColor As Color _
)
public static void GrayscaleDIBits(
byte[] pixels,
int pixelLength,
Color biasColor
)
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.