Package system.windows.media.imaging
Class WmpBitmapEncoder
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.windows.threading.DispatcherObject
-
- system.windows.media.imaging.BitmapEncoder
-
- system.windows.media.imaging.WmpBitmapEncoder
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class WmpBitmapEncoder extends BitmapEncoder
The base .NET class managing System.Windows.Media.Imaging.WmpBitmapEncoder, PresentationCore, Version=6.0.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35.See: https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Media.Imaging.WmpBitmapEncoder
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: PresentationCore, Version=6.0.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static String
assemblyShortName
Assembly name: PresentationCorestatic String
className
Qualified class name: System.Windows.Media.Imaging.WmpBitmapEncoderstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description WmpBitmapEncoder()
WmpBitmapEncoder(Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WmpBitmapEncoder
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoWmpBitmapEncoder
, a cast assert is made to check if types are compatible.byte
getAlphaDataDiscardLevel()
byte
getAlphaQualityLevel()
boolean
getCompressedDomainTranscode()
boolean
getFlipHorizontal()
boolean
getFlipVertical()
boolean
getFrequencyOrder()
short
getHorizontalTileSlices()
boolean
getIgnoreOverlap()
byte
getImageDataDiscardLevel()
Single
getImageQualityLevel()
boolean
getInterleavedAlpha()
String
getJCOAssemblyName()
Returns the reflected Assembly nameString
getJCOClassName()
Returns the reflected Class nameObject
getJCOInstance()
Returns the instantiated classString
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typeboolean
getLossless()
byte
getOverlapLevel()
byte
getQualityLevel()
Rotation
getRotation()
byte
getSubsamplingLevel()
boolean
getUseCodecOptions()
short
getVerticalTileSlices()
void
setAlphaDataDiscardLevel(byte AlphaDataDiscardLevel)
void
setAlphaQualityLevel(byte AlphaQualityLevel)
void
setCompressedDomainTranscode(boolean CompressedDomainTranscode)
void
setFlipHorizontal(boolean FlipHorizontal)
void
setFlipVertical(boolean FlipVertical)
void
setFrequencyOrder(boolean FrequencyOrder)
void
setHorizontalTileSlices(short HorizontalTileSlices)
void
setIgnoreOverlap(boolean IgnoreOverlap)
void
setImageDataDiscardLevel(byte ImageDataDiscardLevel)
void
setImageQualityLevel(Single ImageQualityLevel)
void
setInterleavedAlpha(boolean InterleavedAlpha)
void
setJCOInstance(JCObject instance)
void
setLossless(boolean Lossless)
void
setOverlapLevel(byte OverlapLevel)
void
setQualityLevel(byte QualityLevel)
void
setRotation(Rotation Rotation)
void
setSubsamplingLevel(byte SubsamplingLevel)
void
setUseCodecOptions(boolean UseCodecOptions)
void
setVerticalTileSlices(short VerticalTileSlices)
-
Methods inherited from class system.windows.media.imaging.BitmapEncoder
Create, getCodecInfo, getMetadata, getPalette, getPreview, getThumbnail, Save, setMetadata, setPalette, setPreview, setThumbnail
-
Methods inherited from class system.windows.threading.DispatcherObject
CheckAccess, getDispatcher, VerifyAccess
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toObjectFromArray, toObjectFromArray, toString, ToString, translateException
-
-
-
-
Field Detail
-
assemblyFullName
public static final String assemblyFullName
Fully assembly qualified name: PresentationCore, Version=6.0.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35- See Also:
- Constant Field Values
-
assemblyShortName
public static final String assemblyShortName
Assembly name: PresentationCore- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: System.Windows.Media.Imaging.WmpBitmapEncoder- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WmpBitmapEncoder
public WmpBitmapEncoder(Object instance) throws Throwable
Internal constructor. Use with caution- Throws:
Throwable
-
WmpBitmapEncoder
public WmpBitmapEncoder() throws Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, PlatformNotSupportedException, FormatException
-
-
Method Detail
-
getJCOAssemblyName
public String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classBitmapEncoder
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classBitmapEncoder
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classBitmapEncoder
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classBitmapEncoder
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classBitmapEncoder
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classBitmapEncoder
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static WmpBitmapEncoder cast(IJCOBridgeReflected from) throws Throwable
Try to cast theIJCOBridgeReflected
instance intoWmpBitmapEncoder
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
WmpBitmapEncoder
instance- Throws:
Throwable
- in case of error during cast operation
-
getCompressedDomainTranscode
public boolean getCompressedDomainTranscode() throws Throwable
- Throws:
Throwable
-
setCompressedDomainTranscode
public void setCompressedDomainTranscode(boolean CompressedDomainTranscode) throws Throwable
- Throws:
Throwable
-
setFlipHorizontal
public void setFlipHorizontal(boolean FlipHorizontal) throws Throwable
- Throws:
Throwable
-
setFlipVertical
public void setFlipVertical(boolean FlipVertical) throws Throwable
- Throws:
Throwable
-
setFrequencyOrder
public void setFrequencyOrder(boolean FrequencyOrder) throws Throwable
- Throws:
Throwable
-
setIgnoreOverlap
public void setIgnoreOverlap(boolean IgnoreOverlap) throws Throwable
- Throws:
Throwable
-
setInterleavedAlpha
public void setInterleavedAlpha(boolean InterleavedAlpha) throws Throwable
- Throws:
Throwable
-
setUseCodecOptions
public void setUseCodecOptions(boolean UseCodecOptions) throws Throwable
- Throws:
Throwable
-
setAlphaDataDiscardLevel
public void setAlphaDataDiscardLevel(byte AlphaDataDiscardLevel) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, InvalidOperationException
-
setAlphaQualityLevel
public void setAlphaQualityLevel(byte AlphaQualityLevel) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, InvalidOperationException
-
setImageDataDiscardLevel
public void setImageDataDiscardLevel(byte ImageDataDiscardLevel) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, InvalidOperationException
-
setOverlapLevel
public void setOverlapLevel(byte OverlapLevel) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, InvalidOperationException
-
setQualityLevel
public void setQualityLevel(byte QualityLevel) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, InvalidOperationException
-
setSubsamplingLevel
public void setSubsamplingLevel(byte SubsamplingLevel) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, InvalidOperationException
-
setHorizontalTileSlices
public void setHorizontalTileSlices(short HorizontalTileSlices) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, InvalidOperationException
-
setVerticalTileSlices
public void setVerticalTileSlices(short VerticalTileSlices) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, InvalidOperationException
-
setImageQualityLevel
public void setImageQualityLevel(Single ImageQualityLevel) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, InvalidOperationException
-
-