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_PHTMLMAILER_IMAGEDATA 22 IPWORKSOPENPGP_EXTERNAL void* IPWORKSOPENPGP_CALL IPWorksOpenPGP_PHTMLMailer_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSOPENPGP_EXTERNAL int IPWORKSOPENPGP_CALL IPWorksOpenPGP_PHTMLMailer_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal); IPWORKSOPENPGP_EXTERNAL int IPWORKSOPENPGP_CALL IPWorksOpenPGP_PHTMLMailer_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