TE Edit Control Win32 / Win64 Help
Product page

TerSetPictCropping

Set the picture cropping values.

BOO TerSetPictCropping(hWnd, pict, type, CropLeft, CropTop, CropRight, CropBot, 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 CropLeft;Left cropping value in twips.
int CropTop;Top cropping value in twips.
int CropRight;Right cropping value in twips.
int CropBot;Bottom cropping value in twips.
BOOL repaint;Repaint the screen after this operation.

Return Value: This function returns TRUE when successful.