Click or drag to resize

RichEdit Class (Typed)

X#
Create a rich edit control.
Inheritance Hierarchy
Object
  VObject
    Control
      TextControl
        Edit
          MultiLineEdit
            RichEdit

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.24 GA
Syntax
 CLASS RichEdit INHERIT MultiLineEdit
Request Example View Source

The RichEdit type exposes the following members.

Constructors
  NameDescription
Public methodRichEdit
Construct a rich edit.
Top
Properties
  NameDescription
Public propertyAlignment
A constant representing the paragraph alignment of the rich edit:
Public propertyBackground (Overrides Background.)
Public propertyBackgroundColor
A Color object representing the background color of the rich edit
Public propertyMargins
A Dimension object specifying the left and right margins of the edit control.
(Overrides Margins.)
Public propertyNumbering
A constant representing the type of paragraph numbering currently associated with the rich edit:
Public propertyPrimaryIndent
A numeric value representing the indent of the first line of a paragraph in the rich edit.
Public propertyProtected
A logical value that is TRUE if the text in the rich edit is protected from modification.
Public propertyRightMargin
A numeric value representing the right margin of the rich edit.
Public propertySecondaryIndent
A numeric value representing the indent of the second and subsequent lines of a paragraph in the rich edit.
Public propertySelectedText
A string representing the currently selected text in the rich edit.
(Overrides SelectedText.)
Public propertySelection
A Selection object representing the currently selected text in the rich edit.
(Overrides Selection.)
Public propertySelectionType
A constant representing the type of the current selection in the rich edit:
Public propertyTabStopCount
A numeric value representing the number of tab stops in the rich edit.
Public propertyTextColor
A Color object representing the text color of the rich edit.
(Overrides TextColor.)
Public propertyTextLimit
A numeric value representing the maximum amount of text in the rich edit. The default is 32KB.
(Overrides TextLimit.)
Public propertyValue
A string representing the text contents of the rich edit
(Overrides Value.)
Top
Functions
  NameDescription
Public methodCanPaste
Determine whether the rich edit can paste the specified clipboard format.
Public methodEnableAdvancedTypography
Sets the ability for advanced line breaking and line formatting.
Public methodGetOption
Determine the status of a particular option for the rich edit.
Public methodGetTabStops
Set the TabStops for a rich edit control.
Public methodGetTextRange
Retrieve a range of characters from the rich edit.
Public methodGetWordBreak
Locate a particular type of word break in the rich edit.
Public methodHideSelection
Hide the selection in the rich edit.
Public methodLineFromCharacter
Determine the line number of the rich edit from the specified character position.
Public methodLoadFromFile(String)
Load data from an RTF file into the rich edit control.
Public methodLoadFromFile(String, Long)
Load data from an RTF file into the rich edit control.
Public methodMargin
Set the margins for the currently selected text in the rich edit control.
Public methodPasteSpecial
Paste a particular clipboard format in the rich edit.
Public methodPrint
Print the contents of the rich edit.
Public methodSaveToFile
Save the current contents of the control to an RTF file.
Public methodSeek
Search the rich edit for the specified text.
Public methodSetOption
Set an option for the rich edit.
Public methodSetTabStops
Set the TabStops for a rich edit control.
Public methodShowSelection
Show the selection in the rich edit.
Top
Remarks
A rich edit is a control in which the user can enter and edit text. The text can be assigned character and paragraph formatting, as well as background and foreground color. The rich edit provides a programming interface for printing and searching for text and word breaks.
See Also