The Format tab contains groups of commands that can be used to format the contents of the text editor. Underneath the Format tab are four groups - Actions, Font, Paragraph, and Review - that house closely related tasks.
The following graphic shows the groups and buttons associated with the Format tab:
The following sections detail the commands of each group:
Commands within the Action group can be used to perform common actions, such as saving a document or undoing a previous action. The following table details the commands of the Action group:
Button | Name | Description |
---|---|---|
Save | Raises a postback to the Web server where your application retrieves content from the C1Editor control using the Text property. The control then performs actions consistent with saving the user's changes. | |
Undo | Erases the most recently performed operation done to the document, except another Undo, reverting it back to an older state. To reverse the Undo operation, use the Redo command. | |
Redo | Reverses the Undo command or advances the buffer to a more current state. | |
Preview | Opens the print Preview dialog box (see Preview Dialog Box), allowing users to select a preview window size and print C1Editor content. | |
Clean Up | Opens the Cleanup Source HTML Document dialog box (see Cleanup Source HTML Document Dialog Box), which allows users to remove Microsoft Word tags from their document. | |
Cut | Removes the original source text and places it on the clipboard. | |
Copy | Copies the selected text to the clipboard. | |
Paste | Pastes the text from the clipboard. | |
Select All | Selects all content in the text window. |
Commands under the Font group can be used to manipulate font settings. The following table details the commands of the Font group:
Button | Name | Description |
---|---|---|
Font Name | Allows you to choose a Font style. The Font drop-down list includes the following fonts: Arial, Courier New, Garamond, Tahoma, Times, Verdana, Wingdings. | |
Font Size | Changes the size of the text. The Size combo box includes the following sizes: Very Small, Smaller, Small, Medium, Large, Larger, Very Large. | |
Background Color | Displays the Set BackColor dialog box (see Set BackColor Dialog Box), from whichthe user can select a background color. The coloring can apply to subsequent input or a selected range of text. | |
Font Color | Displays the Set ForeColor dialog box (See Set ForeColor Dialog Box), from which the user can select a text color. The coloring can apply to subsequent output or to the selected range of text. | |
Bold | Emphasizes text by making text darker than the surrounding textusing the <strong> tag. | |
Italic | Emphasizes text by applying italicized formatting using the <em> tag. | |
Underline | Adds a line beneath the text using the <u> tag. | |
Strikethrough | Adds a horizontal line through the center of the text using the <strike> tag. | |
Subscript | Makes text appear smaller than the normal line of type and sets text slightly below the baseline using the <sub> tag. | |
Superscript | Makes text appear smaller than the normal line of type and sets text slightly above the baseline using the <sup> tag. | |
Template | Opens the Apply Template dialog box (see Apply Template Dialog Box), from where users can add, delete, and save templates. | |
Remove Format | Removes the format of the currently selected text. |
Commands within the Paragraph group can be used to manipulate paragraph settings. The following table details the commands of the Paragraph group:
Button |
Name |
Description |
---|---|---|
Justify Left | Aligns text to the left side of the page, causing the text to be flush with the left margin; however, the text will appear jagged on the right side. | |
Justify Center | Aligns to text to the center of the page. Lines of text are placed equidistant from the left and right margins. | |
Justify Right | Aligns text to the right side of the page, causing the text to be flush with the right margin. | |
Justify Full | Aligns text to both the right and left margin. Text that is fully justified is smooth along both margins, but the words spread out to fill the space between. This type of formatting is subject to Web browser support. | |
Border | Applies a border to the currently selected text. | |
Numbered List | Formats the text into an ordered list. An ordered list (numeric or alpha-numeric) indicates that the sequence of list items is significant. | |
Bulleted List | Formats the text into an unordered list. An unordered list ( or bulleted list) indicates that the sequence of list items is insignificant. | |
Outdent | Places text back to the left again. This formatting only applies if the text content was previously indented. | |
Indent | Places text farther to the right to separate it from surrounding text. |
Commands under the Review group can be used to review current documents. The following table details the commands of the Review group:
Button | Name | Description |
---|---|---|
Spelling | Activates a spell check for the current document. See Spell Checker Dialog Box for more details. | |
Inspect | Opens the Tag Inspector dialog box. See Tag Inspector Dialog Box for more details. | |
Find | Opens the Find and Replace dialog box, from where users can search for specific strings and, if they desire, replace those strings. |