ImageMan.Net Version 3 Summer 2012 Release
ToByteArray(ImEncoder) Method
See Also  Send Feedback
DTI.ImageMan Namespace > ImImage Class > ToByteArray Method : ToByteArray(ImEncoder) Method





encoder
The encoder to use

Glossary Item Box

Writes the image to a byte array using the specified encoder

Syntax

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

Parameters

encoder
The encoder to use

Return Value

A byte array containing the image data in the specified image format

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.