TE Edit Control .NET Core / .NET Framework Help
Product page

TerShrinkPictureToPage

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

bool TerShrinkPictureToPaget( line, PictId)
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.