RICHEDIT_IMAGE_PARAMETERS structure (richedit.h)
Defines the attributes of an image to be inserted by the EM_INSERTIMAGE message.
Syntax
typedef struct tagRICHEDIT_IMAGE_PARAMETERS {
LONG xWidth;
LONG yHeight;
LONG Ascent;
LONG Type;
LPCWSTR pwszAlternateText;
IStream *pIStream;
} RICHEDIT_IMAGE_PARAMETERS;
Members
xWidth
The width, in HIMETRIC units (0.01 mm), of the image.
yHeight
Ascent
If Type is TA_BASELINE, this parameter is the distance, in HIMETRIC units, that the top of the image extends above the text baseline. If Type is TA_BASELINE and ascent is zero, the bottom of the image is placed at the text baseline.
Type
The vertical alignment of the image. It can be one of the following values.
pwszAlternateText
The alternate text for the image.
pIStream
The stream that contains the image data.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Header | richedit.h |