public class BitmapEncoder extends DispatcherObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Media.Imaging.BitmapEncoder
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=8.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.BitmapEncoder
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
BitmapEncoder() |
BitmapEncoder(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static BitmapEncoder |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into BitmapEncoder, a cast assert is made to check if types are compatible. |
static BitmapEncoder |
Create(Guid containerFormat)
Invokes the .NET member Create.
|
BitmapCodecInfo |
getCodecInfo()
Gets the value of the .NET property CodecInfo.
|
ReadOnlyCollection_1 |
getColorContexts()
Gets the value of the .NET property ColorContexts.
|
IList_1 |
getFrames()
Gets the value of the .NET property Frames.
|
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 |
Save(Stream stream)
Invokes the .NET member Save.
|
void |
setColorContexts(ReadOnlyCollection_1 ColorContexts)
Sets the value of the .NET property ColorContexts.
|
void |
setFrames(IList_1 Frames)
Sets the value of the .NET property Frames.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setMetadata(BitmapMetadata Metadata)
Sets the value of the .NET property Metadata.
|
void |
setPalette(BitmapPalette Palette)
Sets the value of the .NET property Palette.
|
void |
setPreview(BitmapSource Preview)
Sets the value of the .NET property Preview.
|
void |
setThumbnail(BitmapSource Thumbnail)
Sets the value of the .NET property Thumbnail.
|
CheckAccess, getDispatcher, VerifyAccesspublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public BitmapEncoder()
throws java.lang.Throwable
java.lang.Throwablepublic BitmapEncoder(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 BitmapEncoder cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into BitmapEncoder, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedBitmapEncoder instancejava.lang.Throwable - in case of error during cast operationpublic static BitmapEncoder Create(Guid containerFormat) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, Win32Exception
containerFormat - the argument of type Guidjava.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 itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itpublic BitmapCodecInfo getCodecInfo() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, NotImplementedException, OutOfMemoryException, FormatException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotImplementedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itpublic ReadOnlyCollection_1 getColorContexts() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, NotImplementedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic IList_1 getFrames() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, NotImplementedException, ArgumentOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - 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 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, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, NotImplementedException, IndexOutOfRangeException, OutOfMemoryException, ArgumentOutOfRangeException, FormatException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - 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 itpublic BitmapPalette getPalette() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, NotImplementedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic BitmapSource getPreview() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, NotImplementedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic BitmapSource getThumbnail() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, NotImplementedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic void Save(Stream stream) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, NotImplementedException, OutOfMemoryException, FormatException, NotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, AccessViolationException, ArrayTypeMismatchException, UnreachableException, FileFormatException, WebException, Win32Exception, CookieException, UriFormatException, IOException, SecurityException, UnauthorizedAccessException, FileNotFoundException
stream - the argument of type Streamjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotImplementedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itAccessViolationException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itUnreachableException - if the .NET member raises itFileFormatException - if the .NET member raises itWebException - if the .NET member raises itWin32Exception - if the .NET member raises itCookieException - if the .NET member raises itUriFormatException - 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 setColorContexts(ReadOnlyCollection_1 ColorContexts) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, NotImplementedException
ColorContexts - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic void setFrames(IList_1 Frames) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, NotImplementedException
Frames - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class DispatcherObjectinstance - the new underlying objectpublic void setMetadata(BitmapMetadata Metadata) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, NotImplementedException, IndexOutOfRangeException, OutOfMemoryException, ArgumentOutOfRangeException, FormatException, NotSupportedException
Metadata - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - 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 itNotSupportedException - if the .NET member raises itpublic void setPalette(BitmapPalette Palette) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, NotImplementedException
Palette - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic void setPreview(BitmapSource Preview) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, NotImplementedException
Preview - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic void setThumbnail(BitmapSource Thumbnail) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, NotImplementedException
Thumbnail - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotImplementedException - if the .NET member raises it