ImageType Structure
Represents one supportable image type (format), supports both raster and vector formats

Namespace: GroupDocs.Editor.HtmlCss.Resources.Images
Assembly: GroupDocs.Editor (in GroupDocs.Editor.dll) Version: 21.10.0.0
Syntax
public struct ImageType : IResourceType

The ImageType type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberBmp
BMP image type
Public propertyStatic memberEmf
EMF (Enhanced MetaFile) vector image type
Public propertyFileExtension
File extension (without leading dot character) of a particular image type in lower case. For the Undefined type returns a string 'unsefined'.
Public propertyFormalName
Returns a formal name of this image format. Never reurns NULL. If instance is not corrupted, never throws an exception.
Public propertyFormat
.NET-standard image format description of a particular image format, if it has a .NET-specific representation. For the Undefined type returns a null value. For all formats, which are not represented in .NET, throws an InvalidOperationException.
Public propertyStatic memberGif
GIF image type
Public propertyStatic memberIcon
ICON image type
Public propertyIsVector
Indicates whether this particular format is vector (true) or raster (false)
Public propertyStatic memberJpeg
JPEG image type
Public propertyMimeCode
MIME code of a particular image type as a string. For the Undefined type returns a string 'unsefined'.
Public propertyStatic memberPng
PNG image type
Public propertyStatic memberSvg
SVG vector image type
Public propertyStatic memberTiff
TIFF (Tagged Image File Format) raster image type
Public propertyStatic memberUndefined
Undefined image type - special value, which should not normally occur
Public propertyStatic memberWmf
WMF (Windows MetaFile) vector image type
Methods
  NameDescription
Public methodEquals(Object)
Determines whether this instance is equal with specified uncasted object, which presumably is another "ImageType" instance
(Overrides ValueTypeEquals(Object).)
Public methodEquals(ImageType)
Determines whether this instance is equal with specified "ImageType" instance
Public methodGetHashCode
Returns a hash-code, which is an immutable number for this specific instance
(Overrides ValueTypeGetHashCode.)
Public methodStatic memberParseFromFilenameWithExtension
Returns ImageType value, which is equivalent of filename extension, which is extracted from specified filename
Public methodStatic memberParseFromMime
Returns ImageType value, which is equivalent of specified MIME code
Public methodToString
Returns a FormalName property
(Overrides ValueTypeToString.)
Operators
  NameDescription
Public operatorStatic memberEquality
Defines whether two specific ImageType instances are equal
Public operatorStatic memberInequality
Defines whether two specific ImageType instances are not equal
See Also