TE Edit Control Win32 / Win64 Help
Product page

TerSetPictSize

Set width and height for a picture type object.

BOOL TerSetPictSize(hWnd, pict, width, height)
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 width;

New picture width in the screen units. Use the negative values to specify in twips units.

Set to -1 to leave the picture width unchanged.

int height;New picture height in the screen units. Use the negative values to specify in twips units. Set to -1 to leave the picture height unchanged.

Return Value: This function returns TRUE when successful.