Class RichTextBoxControl
Represents a Windows rich text box control. Wraps the System.Windows.Forms.RichTextBox control.
Inherited Members
FastReport.ComponentBase.CheckNegativeSize(FastReport.Utils.FRMouseEventArgs)
FastReport.ComponentBase.DrawDragAcceptFrame(FastReport.Utils.FRPaintEventArgs, System.Drawing.Color)
FastReport.ComponentBase.GetPreferredSize()
FastReport.ComponentBase.GetSmartTag()
FastReport.ComponentBase.HandleDoubleClick()
FastReport.ComponentBase.HandleDragDrop(FastReport.Utils.FRMouseEventArgs)
FastReport.ComponentBase.HandleDragOver(FastReport.Utils.FRMouseEventArgs)
FastReport.ComponentBase.HandleKeyDown(System.Windows.Forms.Control, System.Windows.Forms.KeyEventArgs)
FastReport.ComponentBase.HandleMouseDown(FastReport.Utils.FRMouseEventArgs)
FastReport.ComponentBase.HandleMouseHover(FastReport.Utils.FRMouseEventArgs)
FastReport.ComponentBase.HandleMouseMove(FastReport.Utils.FRMouseEventArgs)
FastReport.ComponentBase.HandleMouseUp(FastReport.Utils.FRMouseEventArgs)
FastReport.ComponentBase.HandleMouseWheel(FastReport.Utils.FRMouseEventArgs)
FastReport.ComponentBase.PointInObject(System.Drawing.PointF)
FastReport.ComponentBase.DrawSelectionPoint(FastReport.Utils.FRPaintEventArgs, System.Drawing.Pen, System.Drawing.Brush, System.Single, System.Single)
FastReport.ComponentBase.PointInSelectionPoint(System.Single, System.Single, System.Drawing.PointF)
FastReport.Base.IsSelected
FastReport.Base.IsParentSelected
FastReport.Base.Delete()
FastReport.Base.OnAfterInsert(FastReport.InsertFrom)
FastReport.Base.SelectionChanged()
FastReport.Base.GetImageIndex()
Namespace: FastReport.Dialog
Assembly: FastReport.dll
Syntax
public class RichTextBoxControl : DialogControl, IDisposable, IFRSerializable, IHasEditor
Constructors
RichTextBoxControl()
Initializes a new instance of the RichTextBoxControl class with default settings.
Declaration
public RichTextBoxControl()
Properties
RichTextBox
Gets an internal RichTextBox.
Declaration
[Browsable(false)]
public RichTextBox RichTextBox { get; }
Property Value
Type | Description |
---|---|
System.Windows.Forms.RichTextBox |
Rtf
Gets or sets the text of the RichTextBox control, including all rich text format (RTF) codes. Wraps the System.Windows.Forms.RichTextBox.Rtf property.
Declaration
public string Rtf { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ScrollBars
Gets or sets the type of scroll bars to display in the RichTextBox control. Wraps the System.Windows.Forms.RichTextBox.ScrollBars property.
Declaration
public RichTextBoxScrollBars ScrollBars { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Forms.RichTextBoxScrollBars |
Methods
LoadFile(Stream, RichTextBoxStreamType)
Loads rtf from a stream using specified stream type.
Declaration
public void LoadFile(Stream data, RichTextBoxStreamType fileType)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | data | Stream to load from. |
System.Windows.Forms.RichTextBoxStreamType | fileType | Type of a stream. |
LoadFile(String)
Loads rtf from a file.
Declaration
public void LoadFile(string path)
Parameters
Type | Name | Description |
---|---|---|
System.String | path | File to load from. |
LoadFile(String, RichTextBoxStreamType)
Loads rtf from a file using specified stream type.
Declaration
public void LoadFile(string path, RichTextBoxStreamType fileType)
Parameters
Type | Name | Description |
---|---|---|
System.String | path | File to load from. |
System.Windows.Forms.RichTextBoxStreamType | fileType | Type of a stream. |
Serialize(FRWriter)
Declaration
public override void Serialize(FRWriter writer)
Parameters
Type | Name | Description |
---|---|---|
FRWriter | writer |