BitmapImageSource

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.ms.System.IDisposable

public class BitmapImageSource implements System.IDisposable

Constructors

Constructor Description
BitmapImageSource(System.Drawing.Bitmap aBitmap)
BitmapImageSource(System.Drawing.Bitmap aBitmap, System.Drawing.Rectangle aArea)
BitmapImageSource(System.Drawing.Bitmap aBitmap, System.Collections.Generic.List<System.Drawing.Rectangle> aRegionsList)
BitmapImageSource(System.Drawing.Bitmap aBitmap, System.Drawing.Rectangle[] aRegionsList)

Methods

Method Description
dispose()
equals(Object arg0)
fitRectangleToBitmap(System.Drawing.Rectangle aRect)
getClass()
getOriginalSize()
getRegionData(int Index)
getRegionInfo(int Index)
getRegionRectangle(int Index)
getRegionsCount()
getResolution()
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

BitmapImageSource(System.Drawing.Bitmap aBitmap)

public BitmapImageSource(System.Drawing.Bitmap aBitmap)

Parameters:

Parameter Type Description
aBitmap com.aspose.ms.System.Drawing.Bitmap

BitmapImageSource(System.Drawing.Bitmap aBitmap, System.Drawing.Rectangle aArea)

public BitmapImageSource(System.Drawing.Bitmap aBitmap, System.Drawing.Rectangle aArea)

Parameters:

Parameter Type Description
aBitmap com.aspose.ms.System.Drawing.Bitmap
aArea com.aspose.ms.System.Drawing.Rectangle

BitmapImageSource(System.Drawing.Bitmap aBitmap, System.Collections.Generic.List<System.Drawing.Rectangle> aRegionsList)

public BitmapImageSource(System.Drawing.Bitmap aBitmap, System.Collections.Generic.List<System.Drawing.Rectangle> aRegionsList)

Parameters:

Parameter Type Description
aBitmap com.aspose.ms.System.Drawing.Bitmap
aRegionsList com.aspose.ms.System.Collections.Generic.List<com.aspose.ms.System.Drawing.Rectangle>

BitmapImageSource(System.Drawing.Bitmap aBitmap, System.Drawing.Rectangle[] aRegionsList)

public BitmapImageSource(System.Drawing.Bitmap aBitmap, System.Drawing.Rectangle[] aRegionsList)

Parameters:

Parameter Type Description
aBitmap com.aspose.ms.System.Drawing.Bitmap
aRegionsList com.aspose.ms.System.Drawing.Rectangle[]

dispose()

public final void dispose()

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

fitRectangleToBitmap(System.Drawing.Rectangle aRect)

public final System.Drawing.Rectangle fitRectangleToBitmap(System.Drawing.Rectangle aRect)

Parameters:

Parameter Type Description
aRect com.aspose.ms.System.Drawing.Rectangle

Returns: com.aspose.ms.System.Drawing.Rectangle

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getOriginalSize()

public final System.Drawing.Size getOriginalSize()

Returns: com.aspose.ms.System.Drawing.Size

getRegionData(int Index)

public BitmapRegionData getRegionData(int Index)

Parameters:

Parameter Type Description
Index int

Returns: BitmapRegionData

getRegionInfo(int Index)

public final BitmapRegionInfo getRegionInfo(int Index)

Parameters:

Parameter Type Description
Index int

Returns: BitmapRegionInfo

getRegionRectangle(int Index)

public final System.Drawing.Rectangle getRegionRectangle(int Index)

Parameters:

Parameter Type Description
Index int

Returns: com.aspose.ms.System.Drawing.Rectangle

getRegionsCount()

public final int getRegionsCount()

Returns: int

getResolution()

public final System.Drawing.SizeF getResolution()

Returns: com.aspose.ms.System.Drawing.SizeF

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int