Metoda ImageHelper.ExtractPixelSection —
Przestrzeń nazw: Microsoft.Internal.VisualStudio.PlatformUI
Zestaw: Microsoft.VisualStudio.Shell.11.0 (w Microsoft.VisualStudio.Shell.11.0.dll)
Składnia
'Deklaracja
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
)
Parametry
- sourcePixels
Typ: array<System.Byte[]
- sourceBitsPerPixel
Typ: System.Int32
- sourceStride
Typ: System.Int32
- sectionRect
Typ: System.Windows.Int32Rect
- transparentColors
Typ: array<System.Drawing.Color[]
Wartość zwracana
Typ: array<System.Byte[]
Zabezpieczenia programu .NET Framework
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Przy użyciu bibliotek z częściowo zaufanego kodu..