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 TypeResolution
naturaSign Pad Colour640x480
naturaSign Pad Flawless480x272
naturaSign Pad Comfort480x272
duraSign Pad Brilliance800x480
duraSign Pad 10.01024x640

Arguments

Key

Numerical value of the Promo Screen (1-4)

szValue

String value which contains the path to the image

Return Values

 

KeyValue
0error
1upload successful
2wrong image file format
3Image not found
13No Pad Configured

 

Sample

 

C#
// Upload of PromoScreen1
 
int p1 = SigDev.UploadPromoImage(1, @"C:\Temp\p1.jpg");