WmfSetDibToDev
Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.wmf.objects.WmfObject
public class WmfSetDibToDev extends WmfObject
The META_SETDIBTODEV record sets a block of pixels in the playback device context using device-independent color data. The source of the color data is a DIB.
Constructors
| Constructor | Description |
|---|---|
| WmfSetDibToDev() |
Methods
| Method | Description |
|---|---|
| getColorUsage() | Gets or sets the color usage. |
| setColorUsage(int value) | Gets or sets the color usage. |
| getScanCount() | Gets or sets the scan count. |
| setScanCount(int value) | Gets or sets the scan count. |
| getStartScan() | Gets or sets the start scan. |
| setStartScan(int value) | Gets or sets the start scan. |
| getDibPos() | Gets or sets the dib position. |
| setDibPos(Point value) | Gets or sets the dib position. |
| getHeight() | Gets or sets the height. |
| setHeight(int value) | Gets or sets the height. |
| getWidth() | Gets or sets the width. |
| setWidth(int value) | Gets or sets the width. |
| getDestPos() | Gets or sets the dest position. |
| setDestPos(Point value) | Gets or sets the dest position. |
| getDib() | Gets or sets the dib. |
| setDib(WmfDeviceIndependentBitmap value) | Gets or sets the dib. |
WmfSetDibToDev()
public WmfSetDibToDev()
getColorUsage()
public int getColorUsage()
Gets or sets the color usage.
Value: The Colors field of the DIB contains explicit RGB values or indexes into a palette. This MUST be one of the values in the com.aspose.imaging.fileFormats.wmf.objects.wmfSetDibToDev.ColorUsage Enumeration (section 2.1.1.6).
Returns: int
setColorUsage(int value)
public void setColorUsage(int value)
Gets or sets the color usage.
Value: The Colors field of the DIB contains explicit RGB values or indexes into a palette. This MUST be one of the values in the com.aspose.imaging.fileFormats.wmf.objects.wmfSetDibToDev.ColorUsage Enumeration (section 2.1.1.6).
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
getScanCount()
public int getScanCount()
Gets or sets the scan count.
Value: The the number of scan lines in the source.
Returns: int
setScanCount(int value)
public void setScanCount(int value)
Gets or sets the scan count.
Value: The the number of scan lines in the source.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
getStartScan()
public int getStartScan()
Gets or sets the start scan.
Value: The starting scan line in the source.
Returns: int
setStartScan(int value)
public void setStartScan(int value)
Gets or sets the start scan.
Value: The starting scan line in the source.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
getDibPos()
public Point getDibPos()
Gets or sets the dib position.
Value: The coordinates, in logical units, of the source rectangle.
Returns: Point
setDibPos(Point value)
public void setDibPos(Point value)
Gets or sets the dib position.
Value: The coordinates, in logical units, of the source rectangle.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | Point |
getHeight()
public int getHeight()
Gets or sets the height.
Value: The height, in logical units, of the source and destination rectangles.
Returns: int
setHeight(int value)
public void setHeight(int value)
Gets or sets the height.
Value: The height, in logical units, of the source and destination rectangles.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
getWidth()
public int getWidth()
Gets or sets the width.
Value: The width, in logical units, of the source and destination rectangles.
Returns: int
setWidth(int value)
public void setWidth(int value)
Gets or sets the width.
Value: The width, in logical units, of the source and destination rectangles.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
getDestPos()
public Point getDestPos()
Gets or sets the dest position.
Value: The coordinates, in logical units, of the upper-left corner of the destination rectangle.
Returns: Point
setDestPos(Point value)
public void setDestPos(Point value)
Gets or sets the dest position.
Value: The coordinates, in logical units, of the upper-left corner of the destination rectangle.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | Point |
getDib()
public WmfDeviceIndependentBitmap getDib()
Gets or sets the dib.
Value: y-coordinate, in logical units, of the upper-left corner of the destination rectangle.
Returns: WmfDeviceIndependentBitmap
setDib(WmfDeviceIndependentBitmap value)
public void setDib(WmfDeviceIndependentBitmap value)
Gets or sets the dib.
Value: y-coordinate, in logical units, of the upper-left corner of the destination rectangle.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | WmfDeviceIndependentBitmap |