UploadPromoImage
Declaration
Delphi
function UploadPromoImage(Key: Integer; Value: PChar): Cardinal;
C/C++
int SOPAD_UploadPromoImage(int ImageNumber, char* ImageFilePath);
ActiveX
HRESULT _stdcall UploadPromoImage([in] long imageNum, [in] BSTR imageFilePath, [out, retval] long* result);
Description
Allows to Upload Promo Images to Colour Devices. The function support BMP, PNG and JPG as image Format, also the images needs to have a specific size.
| Pad Type | Resolution |
|---|---|
| naturaSign Pad Colour | 640x480 |
| naturaSign Pad Flawless | 480x272 |
| naturaSign Pad Comfort | 480x272 |
| duraSign Pad Brilliance | 800x480 |
| duraSign Pad 10.0 | 1024x640 |
Arguments
Key
Numerical value of the Promo Screen (1-4)
szValue
String value which contains the path to the image
Return Values
| Key | Value |
|---|---|
| 0 | error |
| 1 | upload successful |
| 2 | wrong image file format |
| 3 | Image not found |
| 13 | No Pad Configured |
Sample
C#
// Upload of PromoScreen1 int p1 = SigDev.UploadPromoImage(1, @"C:\Temp\p1.jpg");
, multiple selections available,