public class ImageCodecInfo extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Drawing.Imaging.ImageCodecInfo
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Drawing.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
|
static java.lang.String |
assemblyShortName
Assembly name: System.Drawing.Common
|
static java.lang.String |
className
Qualified class name: System.Drawing.Imaging.ImageCodecInfo
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ImageCodecInfo() |
ImageCodecInfo(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static ImageCodecInfo |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ImageCodecInfo, a cast assert is made to check if types are compatible. |
Guid |
getClsid()
Gets the value of the .NET property Clsid.
|
java.lang.String |
getCodecName()
Gets the value of the .NET property CodecName.
|
java.lang.String |
getDllName()
Gets the value of the .NET property DllName.
|
java.lang.String |
getFilenameExtension()
Gets the value of the .NET property FilenameExtension.
|
ImageCodecFlags |
getFlags()
Gets the value of the .NET property Flags.
|
java.lang.String |
getFormatDescription()
Gets the value of the .NET property FormatDescription.
|
Guid |
getFormatID()
Gets the value of the .NET property FormatID.
|
static ImageCodecInfo[] |
GetImageDecoders()
Invokes the .NET member GetImageDecoders.
|
static ImageCodecInfo[] |
GetImageEncoders()
Invokes the .NET member GetImageEncoders.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
java.lang.String |
getMimeType()
Gets the value of the .NET property MimeType.
|
int |
getVersion()
Gets the value of the .NET property Version.
|
void |
setClsid(Guid Clsid)
Sets the value of the .NET property Clsid.
|
void |
setCodecName(java.lang.String CodecName)
Sets the value of the .NET property CodecName.
|
void |
setDllName(java.lang.String DllName)
Sets the value of the .NET property DllName.
|
void |
setFilenameExtension(java.lang.String FilenameExtension)
Sets the value of the .NET property FilenameExtension.
|
void |
setFlags(ImageCodecFlags Flags)
Sets the value of the .NET property Flags.
|
void |
setFormatDescription(java.lang.String FormatDescription)
Sets the value of the .NET property FormatDescription.
|
void |
setFormatID(Guid FormatID)
Sets the value of the .NET property FormatID.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setMimeType(java.lang.String MimeType)
Sets the value of the .NET property MimeType.
|
void |
setVersion(int Version)
Sets the value of the .NET property Version.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ImageCodecInfo()
throws java.lang.Throwable
java.lang.Throwablepublic ImageCodecInfo(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic static ImageCodecInfo cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ImageCodecInfo, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedImageCodecInfo instancejava.lang.Throwable - in case of error during cast operationpublic Guid getClsid() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getCodecName()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getDllName()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getFilenameExtension()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic ImageCodecFlags getFlags() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getFormatDescription()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Guid getFormatID() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static ImageCodecInfo[] GetImageDecoders() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, OverflowException, OutOfMemoryException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOverflowException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static ImageCodecInfo[] GetImageEncoders() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, OverflowException, OutOfMemoryException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOverflowException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic java.lang.String getMimeType()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getVersion()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setClsid(Guid Clsid) throws java.lang.Throwable
Clsid - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setCodecName(java.lang.String CodecName)
throws java.lang.Throwable
CodecName - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setDllName(java.lang.String DllName)
throws java.lang.Throwable
DllName - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setFilenameExtension(java.lang.String FilenameExtension)
throws java.lang.Throwable
FilenameExtension - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setFlags(ImageCodecFlags Flags) throws java.lang.Throwable
Flags - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setFormatDescription(java.lang.String FormatDescription)
throws java.lang.Throwable
FormatDescription - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setFormatID(Guid FormatID) throws java.lang.Throwable
FormatID - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic void setMimeType(java.lang.String MimeType)
throws java.lang.Throwable
MimeType - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setVersion(int Version)
throws java.lang.Throwable
Version - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLR