ImageFile Property

This property contains the name of the image files embedded into the HTML message.

Syntax

ANSI (Cross Platform)
char* GetImageFile(int iImageIndex);
int SetImageFile(int iImageIndex, const char* lpszImageFile); Unicode (Windows) LPWSTR GetImageFile(INT iImageIndex);
INT SetImageFile(INT iImageIndex, LPCWSTR lpszImageFile);
- (NSString*)imageFile:(int)imageIndex;
- (void)setImageFile:(int)imageIndex:(NSString*)newImageFile;
#define PID_HTMLMAILER_IMAGEFILE 21

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_HTMLMailer_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_HTMLMailer_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_HTMLMailer_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

""

Remarks

This property contains the name of the image files embedded into the HTML message. This value is updated every time MessageHTML is set. You may change the file names prior to sending (e.g. if they don't point to valid files).

The ImageIndex parameter specifies the index of the item in the array. The size of the array is controlled by the ImageCount property.

This property is not available at design time.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 C++ Edition - Version 20.0 [Build 8307]