TE Edit Control Win32 / Win64 Help
Product page

TerSetParaIndent

Set the paragraph indentation.

BOOL TerSetParaIndent(hWnd, left, right, first, repaint)
HWND hWnd;Editor window to access
int left;The left indentation in twips. Set this value to -1 to leave it unchanged
int right;The right indentation in twips. Set this value to -1 to leave it unchanged.
int first;The indentation adjustment (twips) to apply to the first line only. Set this value to -1 to leave it unchanged.
BOOL repaint;TRUE to repaint the screen after this operation.

Return Value: The function returns TRUE when successful.