Method SetSimpleDialogResourceImage
SetSimpleDialogResourceImage(Bitmap, Int32, Int32, SelectBuf)
Puts an image on the selected image buffer at the desired location.
Declaration
public Error SetSimpleDialogResourceImage(Bitmap bitmap, int column, int row, SelectBuf drawbuf)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Bitmap | bitmap | The image. |
System.Int32 | column | The column of the upper left corner of the image. |
System.Int32 | row | The row of the upper left corner of the image. |
SelectBuf | drawbuf |
Returns
Type | Description |
---|---|
Error | Error |
Implements
Remarks
If the image is written to the shadow buffer by passing
ShadowBuffer to buffer
a subsequent
UpdateSimpleDialogDisplay(CopyBufOption)
is necessary to make the contents of the shadow buffer visible.
SetSimpleDialogResourceImage(Byte[], Int32, Int32, SelectBuf)
Declaration
public Error SetSimpleDialogResourceImage(byte[] image, int column, int row, SelectBuf drawbuf)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | image | |
System.Int32 | column | |
System.Int32 | row | |
SelectBuf | drawbuf |
Returns
Type | Description |
---|---|
Error |
SetSimpleDialogResourceImage(String, Int32, Int32, SelectBuf, SimpleDialogFileLoadOptions)
Puts an image on the selected image buffer at the desired location.
Declaration
public Error SetSimpleDialogResourceImage(string fileName, int posX, int posY, SelectBuf drawbuf, SimpleDialogFileLoadOptions fileuploadOption)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName | The image file to use. |
System.Int32 | posX | |
System.Int32 | posY | |
SelectBuf | drawbuf | |
SimpleDialogFileLoadOptions | fileuploadOption |
Returns
Type | Description |
---|---|
Error | Error |
Implements
Remarks
If the image is written to the shadow buffer by passing
ShadowBuffer to buffer
a subsequent
UpdateSimpleDialogDisplay(CopyBufOption)
is necessary to make the contents of the shadow buffer visible.