ImageHelper.ExtractPixelSection Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assemblies:   Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
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
)
public:
static array<unsigned char>^ ExtractPixelSection(
    array<unsigned char>^ sourcePixels, 
    int sourceBitsPerPixel, 
    int sourceStride, 
    Int32Rect sectionRect, 
    array<Color>^ transparentColors
)
static member ExtractPixelSection : 
        sourcePixels:byte[] * 
        sourceBitsPerPixel:int * 
        sourceStride:int * 
        sectionRect:Int32Rect * 
        transparentColors:Color[] -> byte[] 
public static function ExtractPixelSection(
    sourcePixels : byte[], 
    sourceBitsPerPixel : int, 
    sourceStride : int, 
    sectionRect : Int32Rect, 
    transparentColors : Color[]
) : byte[]

Parameters

Return Value

Type: array<System.Byte[]

.NET Framework Security

See Also

Reference

ImageHelper Class

Microsoft.Internal.VisualStudio.PlatformUI Namespace