Delen via


ImageHelper.GetImage Method (array<Byte )

Gets an image from and array of bytes

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public Shared Function GetImage ( _
    imageData As Byte() _
) As Image
public static Image GetImage(
    byte[] imageData
)
public:
static Image^ GetImage(
    array<unsigned char>^ imageData
)
static member GetImage : 
        imageData:byte[] -> Image
public static function GetImage(
    imageData : byte[]
) : Image

Parameters

  • imageData
    Type: array<System.Byte[]

    An array of bytes containing the image

Return Value

Type: System.Drawing.Image

.NET Framework Security

See Also

Reference

ImageHelper Class

GetImage Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace