ImageHelper.ExtractPixelSection Method
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣言
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
)
Parameters
- sourcePixels
Type: array<System.Byte[]
- sourceBitsPerPixel
Type: System.Int32
- sourceStride
Type: System.Int32
- sectionRect
Type: System.Windows.Int32Rect
- transparentColors
Type: array<System.Drawing.Color[]
Return Value
Type: array<System.Byte[]
.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.