PyCRichEditCtrl.SetParaFormat

int = SetParaFormat(paraFormat)

Sets the paragraph formatting

Parameters

paraFormat : tuple

A charformat tuple. See win32ui::PARAFORMAT tuple for details.

MFC References

CRichEditCtrl::SetParaFormat

Return Value

This function seems to return occasionally return failure, but the formatting is applied. Therefore an exception is not raised on failure, but the BOOL return code is passed back.