ImageHelper.ExtractPixelSection 方法

命名空间:  Microsoft.Internal.VisualStudio.PlatformUI
程序集:  Microsoft.VisualStudio.Shell.11.0(在 Microsoft.VisualStudio.Shell.11.0.dll 中)

语法

声明
Public Shared Function ExtractPixelSection ( _
    sourcePixels As Byte(), _
    sourceBitsPerPixel As Integer, _
    sourceStride As Integer, _
    sectionRect As Int32Rect, _
    transparentColors As Color() _
) As Byte()
public static byte[] ExtractPixelSection(
    byte[] sourcePixels,
    int sourceBitsPerPixel,
    int sourceStride,
    Int32Rect sectionRect,
    Color[] transparentColors
)

参数

返回值

类型:array<System.Byte[]

.NET Framework 安全性

请参见

参考

ImageHelper 类

Microsoft.Internal.VisualStudio.PlatformUI 命名空间