ImageMan.Net Version 3 Summer 2012 Release
FromByteArray(Byte[],ImDecoder) Method
See Also  Send Feedback
DTI.ImageMan Namespace > ImImage Class > FromByteArray Method : FromByteArray(Byte[],ImDecoder) Method





array
byte array
decoder
ImageMan Decoder

Glossary Item Box

Reads an image from memory using the decoder that has been passed in.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function FromByteArray( _
   ByVal array() As System.Byte, _
   ByVal decoder As ImDecoder _
) As ImImage
Visual Basic (Usage)Copy Code
Dim array() As System.Byte
Dim decoder As ImDecoder
Dim value As ImImage
 
value = ImImage.FromByteArray(array, decoder)
C# 
public static ImImage FromByteArray( 
   System.byte[] array,
   ImDecoder decoder
)
JScript 
public static function FromByteArray( 
   array : System.byte[],
   decoder : ImDecoder
) : ImImage;
Managed Extensions for C++ 
public: static ImImage* FromByteArray( 
   System.byte[]* array,
   ImDecoder* decoder
) 
C++/CLI 
public:
static ImImage^ FromByteArray( 
   System.array<byte>^ array,
   ImDecoder^ decoder
) 

Parameters

array
byte array
decoder
ImageMan Decoder

Return Value

ImImage if valid or NULL if invalid.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.