ImageHelper.ExtractPixelSection, méthode
Espace de noms : Microsoft.Internal.VisualStudio.PlatformUI
Assembly : Microsoft.VisualStudio.Shell.11.0 (dans Microsoft.VisualStudio.Shell.11.0.dll)
Syntaxe
'Déclaration
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
)
Paramètres
- sourcePixels
Type : array<System.Byte[]
- sourceBitsPerPixel
Type : System.Int32
- sourceStride
Type : System.Int32
- sectionRect
Type : System.Windows.Int32Rect
- transparentColors
Type : array<System.Drawing.Color[]
Valeur de retour
Type : array<System.Byte[]
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.