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_SHTMLMAILER_IMAGEFILE 27 IPWORKSSMIME_EXTERNAL void* IPWORKSSMIME_CALL IPWorksSMIME_SHTMLMailer_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSSMIME_EXTERNAL int IPWORKSSMIME_CALL IPWorksSMIME_SHTMLMailer_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal); IPWORKSSMIME_EXTERNAL int IPWORKSSMIME_CALL IPWorksSMIME_SHTMLMailer_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