ImageMan.Net Version 3 Summer 2012 Release
IsCompatiblePixelFormat Method
See Also  Send Feedback
DTI.ImageMan.Codecs Namespace > EmfEncoder Class : IsCompatiblePixelFormat Method





pixelFormat
A DTI.ImageMan.PixelFormat representing the pixelFormat.

Glossary Item Box

Tests to see if a given PixelFormat is supported by this Image Codec.

Syntax

Visual Basic (Declaration) 
Public Overridable Function IsCompatiblePixelFormat( _
   ByVal pixelFormat As PixelFormat _
) As System.Boolean
Visual Basic (Usage)Copy Code
Dim instance As EmfEncoder
Dim pixelFormat As PixelFormat
Dim value As System.Boolean
 
value = instance.IsCompatiblePixelFormat(pixelFormat)
C# 
public virtual System.bool IsCompatiblePixelFormat( 
   PixelFormat pixelFormat
)
JScript 
public function IsCompatiblePixelFormat( 
   pixelFormat : PixelFormat
) : System.boolean;
Managed Extensions for C++ 
public: virtual System.bool IsCompatiblePixelFormat( 
   PixelFormat pixelFormat
) 
C++/CLI 
public:
virtual System.bool IsCompatiblePixelFormat( 
   PixelFormat pixelFormat
) 

Parameters

pixelFormat
A DTI.ImageMan.PixelFormat representing the pixelFormat.

Return Value

Returns True if this format is supported.

Remarks

Image Formats may only be able to write certain PixelFormats. This Method allows you to test if a given PixelFormat is supported.

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.