TE Edit Control Win32 / Win64 Help
Product page

TerSetFrameTextDist

Set the frame to text distance.

BOOL TerSetFrameTextDist(hWnd,ParaFID, dist)
HWND hWnd;The handle of the window to be accessed
int ParaFID;The paragraph frame id to the set the distance.
int dist;The frame text distance in twips unit (default 180 twips)

Description: The dist argument controls the minimum distance between a frame and the text flowing around the frame.

Return Value: This function returns TRUE when successful.