Specifies the file format of the image. Not inheritable.
Public Constructors | |
| image_format (const guid &guid) noexcept | |
| Initializes a new instance of the image_format class by using the specified guid structure. | |
Public Properties | |
| auto | guid () const noexcept -> const xtd::guid |
| Gets a guid structure that represents this image_format object. | |
Public Methods | |
| auto | compare_to (const image_format &value) const noexcept -> int32 override |
| Compares the current instance with another object of the same type. | |
| auto | equals (const object &obj) const noexcept -> bool override |
| Determines whether the specified object is equal to the current object. | |
| auto | equals (const image_format &other) const noexcept -> bool override |
| Determines whether the specified object is equal to the current object. | |
| auto | get_hash_code () const noexcept -> xtd::usize override |
| Serves as a hash function for a particular type. | |
| auto | to_string () const noexcept -> xtd::string override |
| Converts this image_format object to a human-readable string. | |
Public Static Properties | |
| static auto | bmp () noexcept -> image_format |
| Gets the bitmap (BMP) image format. | |
| static auto | emf () noexcept -> image_format |
| Gets the enhanced metafile (EMF) image format. | |
| static auto | exif () noexcept -> image_format |
| Gets the Exchangeable Image File (Exif) format. | |
| static auto | gif () noexcept -> image_format |
| Gets the Graphics Interchange Format (GIF) image format. | |
| static auto | ico () noexcept -> image_format |
| Gets the windows icon (ico) image format. | |
| static auto | jpeg () noexcept -> image_format |
| Gets the Joint Photographic Experts Group (JPEG) image format. | |
| static auto | memory_bmp () noexcept -> image_format |
| Gets the format of a bitmap in memory. | |
| static auto | png () noexcept -> image_format |
| Gets the W3C Portable Network Graphics (PNG) image format. | |
| static auto | tiff () noexcept -> image_format |
| Gets the Tagged Image File Format (TIFF) image format. | |
| static auto | wmf () noexcept -> image_format |
| Gets the Windows metafile (WMF) image format. | |
| static auto | memory_gif () noexcept -> image_format |
| Gets the GIF memory format. | |
| static auto | memory_ico () noexcept -> image_format |
| Gets the ICO memory format. | |
| static auto | memory_jpeg () noexcept -> image_format |
| Gets the JPEG memory format. | |
| static auto | memory_png () noexcept -> image_format |
| Gets the PNG memory format. | |
| static auto | memory_tiff () noexcept -> image_format |
| Gets the TIFF memory. | |
| static auto | cur () noexcept -> image_format |
| Gets the cursor (CUR) image format. | |
| static auto | memory_cur () noexcept -> image_format |
| Gets the CUR memory. | |
| static auto | xbm () noexcept -> image_format |
| Gets the x bitmap (XBM) image format. | |
| static auto | memory_xbm () noexcept -> image_format |
| Gets the XMB memory. | |
| static auto | xpm () noexcept -> image_format |
| Gets the x pixmap (XPM) image format. | |
| static auto | memory_xpm () noexcept -> image_format |
| Gets the XPM memory. | |
| static auto | pnm () noexcept -> image_format |
| Gets the portable pixmap (PNM) image format. | |
| static auto | memory_pnm () noexcept -> image_format |
| Gets the PNM memory. | |
| static auto | pcx () noexcept -> image_format |
| Gets the pcx (PCX) image format. | |
| static auto | memory_pcx () noexcept -> image_format |
| Gets the PCX memory. | |
| static auto | pict () noexcept -> image_format |
| Gets the apple pict (PICT) image format. | |
| static auto | memory_pict () noexcept -> image_format |
| Gets the PICT memory. | |
| static auto | icon () noexcept -> image_format |
| Gets the apple icon (ICON) image format. | |
| static auto | memory_icon () noexcept -> image_format |
| Gets the ICON memory. | |
| static auto | cursor () noexcept -> image_format |
| Gets the apple cursor (CURSOR) image format. | |
| static auto | memory_cursor () noexcept -> image_format |
| Gets the CURSOR memory. | |
| static auto | ani () noexcept -> image_format |
| Gets the animated file cursor (ANI) image format. | |
| static auto | iif () noexcept -> image_format |
| Gets the iif (IIF) image format. | |
| static auto | tga () noexcept -> image_format |
| Gets the truevision targa (TGA) image format. | |
Additional Inherited Members | |
| object ()=default | |
| Create a new instance of the ultimate base class object. | |
| virtual auto | get_type () const noexcept -> type_object |
| Gets the type of the current instance. | |
| template<typename object_t> | |
| auto | memberwise_clone () const -> xtd::unique_ptr_object< object_t > |
| Creates a shallow copy of the current object. | |
| virtual auto | compare_to (const image_format &obj) const noexcept -> xtd::int32=0 |
| Compares the current instance with another object of the same type. | |
| virtual auto | equals (const image_format &) const noexcept -> bool=0 |
| Indicates whether the current object is equal to another object of the same type. | |
| template<typename object_a_t, typename object_b_t> | |
| static auto | equals (const object_a_t &object_a, const object_b_t &object_b) noexcept -> bool |
| Determines whether the specified object instances are considered equal. | |
| template<typename object_a_t, typename object_b_t> | |
| static auto | reference_equals (const object_a_t &object_a, const object_b_t &object_b) noexcept -> bool |
| Determines whether the specified object instances are the same instance. | |
|
explicitnoexcept |
Initializes a new instance of the image_format class by using the specified guid structure.
| guid | The guid structure that specifies a particular image format. |
|
nodiscardnoexcept |
Gets a guid structure that represents this image_format object.
|
staticnodiscardnoexcept |
Gets the bitmap (BMP) image format.
|
staticnodiscardnoexcept |
Gets the enhanced metafile (EMF) image format.
|
staticnodiscardnoexcept |
Gets the Exchangeable Image File (Exif) format.
|
staticnodiscardnoexcept |
Gets the Graphics Interchange Format (GIF) image format.
|
staticnodiscardnoexcept |
Gets the windows icon (ico) image format.
|
staticnodiscardnoexcept |
Gets the Joint Photographic Experts Group (JPEG) image format.
|
staticnodiscardnoexcept |
Gets the format of a bitmap in memory.
|
staticnodiscardnoexcept |
Gets the W3C Portable Network Graphics (PNG) image format.
|
staticnodiscardnoexcept |
Gets the Tagged Image File Format (TIFF) image format.
|
staticnodiscardnoexcept |
Gets the Windows metafile (WMF) image format.
|
staticnodiscardnoexcept |
Gets the GIF memory format.
|
staticnodiscardnoexcept |
Gets the ICO memory format.
|
staticnodiscardnoexcept |
Gets the JPEG memory format.
|
staticnodiscardnoexcept |
Gets the PNG memory format.
|
staticnodiscardnoexcept |
Gets the TIFF memory.
|
staticnodiscardnoexcept |
Gets the cursor (CUR) image format.
|
staticnodiscardnoexcept |
Gets the CUR memory.
|
staticnodiscardnoexcept |
Gets the x bitmap (XBM) image format.
|
staticnodiscardnoexcept |
Gets the XMB memory.
|
staticnodiscardnoexcept |
Gets the x pixmap (XPM) image format.
|
staticnodiscardnoexcept |
Gets the XPM memory.
|
staticnodiscardnoexcept |
Gets the portable pixmap (PNM) image format.
|
staticnodiscardnoexcept |
Gets the PNM memory.
|
staticnodiscardnoexcept |
Gets the pcx (PCX) image format.
|
staticnodiscardnoexcept |
Gets the PCX memory.
|
staticnodiscardnoexcept |
Gets the apple pict (PICT) image format.
|
staticnodiscardnoexcept |
Gets the PICT memory.
|
staticnodiscardnoexcept |
Gets the apple icon (ICON) image format.
|
staticnodiscardnoexcept |
Gets the ICON memory.
|
staticnodiscardnoexcept |
Gets the apple cursor (CURSOR) image format.
|
staticnodiscardnoexcept |
Gets the CURSOR memory.
|
staticnodiscardnoexcept |
Gets the animated file cursor (ANI) image format.
|
staticnodiscardnoexcept |
Gets the iif (IIF) image format.
|
staticnodiscardnoexcept |
Gets the truevision targa (TGA) image format.
|
nodiscardoverridenoexcept |
Compares the current instance with another object of the same type.
| obj | An object to compare with this instance. |
| Value | Condition |
|---|---|
| Less than zero | This instance is less than obj. |
| Zero | This instance is equal to obj. |
| Greater than zero | This instance is greater than obj. |
|
nodiscardoverridevirtualnoexcept |
Determines whether the specified object is equal to the current object.
| obj | The object to compare with the current object. |
Reimplemented from xtd::object.
|
nodiscardoverridenoexcept |
Determines whether the specified object is equal to the current object.
| other | The object to compare with the current object. |
|
nodiscardoverridevirtualnoexcept |
Serves as a hash function for a particular type.
Reimplemented from xtd::object.
|
nodiscardoverridevirtualnoexcept |
Converts this image_format object to a human-readable string.
Reimplemented from xtd::object.