ImageMan.Net Version 3 Summer 2012 Release
GetEncoder Method
See Also  Send Feedback
DTI.ImageMan Namespace > RegisteredEncoders Class : GetEncoder Method





extension
The three character extension of the desired image format ie JPG, TIF, etc

Glossary Item Box

Returns an ImEncoder object for the image type based on the specified file extension.

Syntax

Visual Basic (Declaration) 
Public Shared Function GetEncoder( _
   ByVal extension As System.String _
) As ImEncoder
Visual Basic (Usage)Copy Code
Dim extension As System.String
Dim value As ImEncoder
 
value = RegisteredEncoders.GetEncoder(extension)
C# 
public static ImEncoder GetEncoder( 
   System.string extension
)
JScript 
public static function GetEncoder( 
   extension : System.String
) : ImEncoder;
Managed Extensions for C++ 
public: static ImEncoder* GetEncoder( 
   System.string* extension
) 
C++/CLI 
public:
static ImEncoder^ GetEncoder( 
   System.String^ extension
) 

Parameters

extension
The three character extension of the desired image format ie JPG, TIF, etc

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.