public class BitmapDecoder extends DispatcherObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Media.Imaging.BitmapDecoder
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: PresentationCore, Version=11.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
|
static java.lang.String |
assemblyShortName
Assembly name: PresentationCore
|
static java.lang.String |
className
Qualified class name: System.Windows.Media.Imaging.BitmapDecoder
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
BitmapDecoder() |
BitmapDecoder(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDownloadCompleted(EventHandler handler)
Invokes the .NET member addDownloadCompleted.
|
static BitmapDecoder |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into BitmapDecoder, a cast assert is made to check if types are compatible. |
static BitmapDecoder |
Create(Stream bitmapStream,
BitmapCreateOptions createOptions,
BitmapCacheOption cacheOption)
Invokes the .NET member Create.
|
static BitmapDecoder |
Create(Uri bitmapUri,
BitmapCreateOptions createOptions,
BitmapCacheOption cacheOption)
Invokes the .NET member Create.
|
static BitmapDecoder |
Create(Uri bitmapUri,
BitmapCreateOptions createOptions,
BitmapCacheOption cacheOption,
RequestCachePolicy uriCachePolicy)
Invokes the .NET member Create.
|
InPlaceBitmapMetadataWriter |
CreateInPlaceBitmapMetadataWriter()
Invokes the .NET member CreateInPlaceBitmapMetadataWriter.
|
BitmapCodecInfo |
getCodecInfo()
Gets the value of the .NET property CodecInfo.
|
ReadOnlyCollection_1 |
getColorContexts()
Gets the value of the .NET property ColorContexts.
|
ReadOnlyCollection_1 |
getFrames()
Gets the value of the .NET property Frames.
|
boolean |
getIsDownloading()
Gets the value of the .NET property IsDownloading.
|
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. |
BitmapMetadata |
getMetadata()
Gets the value of the .NET property Metadata.
|
BitmapPalette |
getPalette()
Gets the value of the .NET property Palette.
|
BitmapSource |
getPreview()
Gets the value of the .NET property Preview.
|
BitmapSource |
getThumbnail()
Gets the value of the .NET property Thumbnail.
|
void |
removeDownloadCompleted(EventHandler handler)
Invokes the .NET member removeDownloadCompleted.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
CheckAccess, getDispatcher, VerifyAccesspublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public BitmapDecoder()
throws java.lang.Throwable
java.lang.Throwablepublic BitmapDecoder(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 void addDownloadCompleted(EventHandler handler) throws java.lang.Throwable
handler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static BitmapDecoder cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into BitmapDecoder, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedBitmapDecoder instancejava.lang.Throwable - in case of error during cast operationpublic static BitmapDecoder Create(Stream bitmapStream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, NullReferenceException, OutOfMemoryException, ExternalException, CultureNotFoundException, IndexOutOfRangeException, UnreachableException, UriFormatException, FileFormatException, InvalidEnumArgumentException, Win32Exception, ThreadStateException, ThreadStartException, IOException, WebException, CookieException, FormatException, SecurityException, SerializationException, NotImplementedException
bitmapStream - the argument of type StreamcreateOptions - the argument of type BitmapCreateOptionscacheOption - the argument of type BitmapCacheOptionjava.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 itArgumentNullException - if the .NET member raises itNullReferenceException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itUnreachableException - if the .NET member raises itUriFormatException - if the .NET member raises itFileFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itThreadStateException - if the .NET member raises itThreadStartException - if the .NET member raises itIOException - if the .NET member raises itWebException - if the .NET member raises itCookieException - if the .NET member raises itFormatException - if the .NET member raises itSecurityException - if the .NET member raises itSerializationException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic static BitmapDecoder Create(Uri bitmapUri, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, CultureNotFoundException, IndexOutOfRangeException, UnreachableException, UriFormatException, OutOfMemoryException, FileFormatException, Win32Exception, ThreadStateException, ThreadStartException, ObjectDisposedException, IOException, WebException, CookieException, SecurityException, NotImplementedException
bitmapUri - the argument of type UricreateOptions - the argument of type BitmapCreateOptionscacheOption - the argument of type BitmapCacheOptionjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itUnreachableException - if the .NET member raises itUriFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFileFormatException - if the .NET member raises itWin32Exception - if the .NET member raises itThreadStateException - if the .NET member raises itThreadStartException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIOException - if the .NET member raises itWebException - if the .NET member raises itCookieException - if the .NET member raises itSecurityException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic static BitmapDecoder Create(Uri bitmapUri, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, NullReferenceException, OutOfMemoryException, ExternalException, CultureNotFoundException, IndexOutOfRangeException, UnreachableException, UriFormatException, FileFormatException, InvalidEnumArgumentException, Win32Exception, ThreadStateException, ThreadStartException, IOException, WebException, CookieException, FormatException, SecurityException, SerializationException, NotImplementedException
bitmapUri - the argument of type UricreateOptions - the argument of type BitmapCreateOptionscacheOption - the argument of type BitmapCacheOptionuriCachePolicy - the argument of type RequestCachePolicyjava.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 itArgumentNullException - if the .NET member raises itNullReferenceException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itUnreachableException - if the .NET member raises itUriFormatException - if the .NET member raises itFileFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itThreadStateException - if the .NET member raises itThreadStartException - if the .NET member raises itIOException - if the .NET member raises itWebException - if the .NET member raises itCookieException - if the .NET member raises itFormatException - if the .NET member raises itSecurityException - if the .NET member raises itSerializationException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic InPlaceBitmapMetadataWriter CreateInPlaceBitmapMetadataWriter() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, NotImplementedException, ArgumentOutOfRangeException, OutOfMemoryException, SecurityException, ArrayTypeMismatchException, IOException, UnauthorizedAccessException, NotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotImplementedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSecurityException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic BitmapCodecInfo getCodecInfo() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, NotImplementedException, IndexOutOfRangeException, OutOfMemoryException, ArgumentOutOfRangeException, NotSupportedException, FormatException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotImplementedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itpublic ReadOnlyCollection_1 getColorContexts() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, NotImplementedException, SecurityException, IOException, UnauthorizedAccessException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, RankException, ArrayTypeMismatchException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotImplementedException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic ReadOnlyCollection_1 getFrames() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, NotImplementedException, IndexOutOfRangeException, OutOfMemoryException, ArgumentOutOfRangeException, FormatException, Win32Exception, NotSupportedException, InvalidCastException, InvalidEnumArgumentException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotImplementedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidCastException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic boolean getIsDownloading()
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentNullException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
NotImplementedException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class DispatcherObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class DispatcherObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class DispatcherObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class DispatcherObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class DispatcherObjectpublic BitmapMetadata getMetadata() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, NotImplementedException, IndexOutOfRangeException, OutOfMemoryException, ArgumentOutOfRangeException, NotSupportedException, FormatException, Win32Exception
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotImplementedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itWin32Exception - if the .NET member raises itpublic BitmapPalette getPalette() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, NotImplementedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, ArgumentOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidEnumArgumentException, Win32Exception, NotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotImplementedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic BitmapSource getPreview() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, NotImplementedException, IndexOutOfRangeException, OutOfMemoryException, ArgumentOutOfRangeException, NotSupportedException, FormatException, RankException, ArrayTypeMismatchException, InvalidEnumArgumentException, Win32Exception, UnreachableException, UriFormatException, FileFormatException, WebException, CookieException, IOException, SecurityException, UnauthorizedAccessException, FileNotFoundException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotImplementedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itUnreachableException - if the .NET member raises itUriFormatException - if the .NET member raises itFileFormatException - if the .NET member raises itWebException - if the .NET member raises itCookieException - if the .NET member raises itIOException - if the .NET member raises itSecurityException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itFileNotFoundException - if the .NET member raises itpublic BitmapSource getThumbnail() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, NotImplementedException, IndexOutOfRangeException, OutOfMemoryException, ArgumentOutOfRangeException, NotSupportedException, FormatException, RankException, ArrayTypeMismatchException, InvalidEnumArgumentException, Win32Exception, UnreachableException, UriFormatException, FileFormatException, WebException, CookieException, IOException, SecurityException, UnauthorizedAccessException, FileNotFoundException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotImplementedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itUnreachableException - if the .NET member raises itUriFormatException - if the .NET member raises itFileFormatException - if the .NET member raises itWebException - if the .NET member raises itCookieException - if the .NET member raises itIOException - if the .NET member raises itSecurityException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itFileNotFoundException - if the .NET member raises itpublic void removeDownloadCompleted(EventHandler handler) throws java.lang.Throwable
handler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class DispatcherObjectinstance - the new underlying object