ImageData Property
This property optionally specifies the image data.
Syntax
ANSI (Cross Platform) int GetImageData(int iImageIndex, char* &lpImageData, int &lenImageData);
int SetImageData(int iImageIndex, const char* lpImageData, int lenImageData); Unicode (Windows) INT GetImageData(INT iImageIndex, LPSTR &lpImageData, INT &lenImageData);
INT SetImageData(INT iImageIndex, LPCSTR lpImageData, INT lenImageData);
- (NSString*)imageData:(int)imageIndex; - (void)setImageData:(int)imageIndex:(NSString*)newImageData;
- (NSData*)imageDataB:(int)imageIndex; - (void)setImageDataB:(int)imageIndex:(NSData*)newImageData;
#define PID_HTMLMAILER_IMAGEDATA 20 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 optionally specifies the image data. This may be used instead of specifying an image by file. The value specified here may be either the Hex encoded image data, or the raw un-encoded image data.
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
Binary String