User Tools

Site Tools


aligncenterrtf_code_template.htm
Navigation:  Templates > Guide to all Templates > Additional Libraries and Templates > Rich Text Template Support - Overview >====== AlignCenterRTF code template ====== Previous pageReturn to chapter overviewNext page

NoteBox.jpg

This template (and its associated code templates) has been deprecated, and is now replaced by the RTF Text Control template.

The AlignCenterRTF code template is used to center the current or selected paragraph of text within the rich text control. The current paragraph is the one that the cursor is within. This template calls the AlignParaCenter method. There are no parameters for this method.

Prototype:

AlignParaCenter

Example method calls:

oRTF_RTFTextBox.AlignParaCenter() !Center paragraph

Template Prompts:

Associated RTF control

Select the RTF control from the drop-down list. All controls on the Window are included in the list. This field in required.

aligncenterrtf_code_template.htm.txt · Last modified: 2021/04/15 15:56 by 127.0.0.1