TE Edit Control Win32 / Win64 Help
Product page

TerMovePictFrame

Move a picture frame.

BOOL TerMovePictFrame(hWnd, PictId, x, y)
HWND hWnd;Handle of the window to be accessed
int PictId;Id of the picture object. This id value must be between 0 and TotalFonts-1, and must correspond to a picture object.
int x;New X location of the picture frame specified in the Twips unit. The X location is relative to the left margin. Set to PARAM_IGNORE to let this value remain unchanged.
int y;New Y location of the picture frame specified in the Twips unit. The Y location is relative to the page top, top margin, or current paragraph as defined by the current frame Y alignment attribute. Set to PARAM_IGNORE to let this value remain unchanged.

Description: This function is used to move or resize an exiting picture frame.

Return Value: This function return a TRUE value when successful.