TE Edit Control .NET Core / .NET Framework Help
Product page

TerSelectParaStyle

Apply a paragraph stylesheet item.

bool TerSelectParaStyle( StyleId, repaint)
int StyleId;Paragraph style id to apply
bool repaint;true to refresh the screen after this operation.

Description: This function is used to assign the given paragraph style to the current paragraph. If more than one paragraph is highlighted, then all highlighted paragraphs are assigned the specified paragraph style id.

Return Value: This function returns true when successful.