CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
image_codec_info.h
1
2#ifndef _aspose_system_drawing_imaging_image_codec_info_h_
3#define _aspose_system_drawing_imaging_image_codec_info_h_
4
5#include "fwd.h"
6#include "system/guid.h"
7
8namespace System { namespace Drawing { namespace Imaging {
9
10class ImageCodecInfo;
17class ASPOSECPP_SHARED_CLASS ImageCodecInfo : public Object
18{
19public:
20
26 ASPOSECPP_SHARED_API Guid get_FormatID() const;
29 ASPOSECPP_SHARED_API void set_FormatID(const Guid & value);
31 ASPOSECPP_SHARED_API System::String get_MimeType();
32
33protected:
37 ASPOSECPP_SHARED_API ImageCodecInfo(const System::Guid & format_id, const System::String& mime_type);
38 MEMBER_FUNCTION_MAKE_OBJECT(ImageCodecInfo, CODEPORTING_ARGS(const System::Guid& format_id, const System::String& mime_type), CODEPORTING_ARGS(format_id, mime_type));
39
40private:
42 System::Guid m_format_id;
44 System::String m_mime_type;
45};
46
47}}}
48
49#endif
Provides information about an image codec. Objects of this class should only be allocated using Syste...
Definition: image_codec_info.h:18
ImageCodecInfo(const System::Guid &format_id, const System::String &mime_type)
Constructs an instance of ImageCodecInfo and initializes it with the specified format ID and mime typ...
static System::ArrayPtr< ImageCodecInfoPtr > GetImageEncoders()
Returns an array of ImageCodecInfo objects that represent supported image encoders.
Guid get_FormatID() const
Returns a GUID associated with the format of the codec represented by the current object.
void set_FormatID(const Guid &value)
Sets a GUID associated with the format of the codec represented by the current object.
static System::ArrayPtr< ImageCodecInfoPtr > GetImageDecoders()
Returns an array of ImageCodecInfo objects that represent supported image decoders.
System::String get_MimeType()
Returns the Multipurpose Internet Mail Extensions (MIME) type of the codec represented by the current...
Represents a Globally Unique IDentifier This type should be allocated on stack and passed to function...
Definition: guid.h:34
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:62
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
String class used across the library. Is a substitute for C# System.String when translating code....
Definition: string.h:122
SharedPtr< ImageCodecInfo > ImageCodecInfoPtr
An alias for a shared pointer to an instance of ImageCodecInfo class.
Definition: image_codec_info.h:12
Definition: db_command.h:9