TE Edit Control Win32 / Win64 Help
Product page

TerSetPictOffset

Set the offset from the baseline to place the picture in the text.

BOOL TerSetPictOffset(hWnd, pict, offset, repaint)
HWND hWnd;The handle of the window to be accessed
int pict;Id of the picture. Must be a valid number between 0 and TotalFonts - 1.
int offset;The offset (twips) for the picture. This value is used to depress the bottom of the picture against the text baseline.
BOOL repaint;TRUE to repaint the screen after this operation.

Return Value: This function returns TRUE when successful.