TE Edit Control Win32 / Win64 Help
Product page

TerShrinkPictureToPage

Shrink the picture to fit within a page, column, or table cell.

BOOL TerShrinkPictureToPaget(hWnd, line, PictId)
HWND hWnd;The handle of the window to be accessed.
long line;The document line number where the picture is located. Set to -1 to specify the current line number.
int PictId;Picture id

Description: The picture can be an ID returned by any of these functions: TerPastePicture, TerInsertPictureFile, TerPictureFromFile, TerPictureFromWmf. The 'insert' argument for these function calls must be set to FALSE.

Return Value: This function returns TRUE when successful.