命名空间: 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
)
参数
- sourcePixels
类型:array<System.Byte[]
- sourceBitsPerPixel
类型:System.Int32
- sourceStride
类型:System.Int32
- sectionRect
类型:System.Windows.Int32Rect
- transparentColors
类型:array<System.Drawing.Color[]
返回值
类型:array<System.Byte[]
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。