[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.SectionReportModel.RichTextBox

RichTextBox Class

RichTextBox control.

Inheritance
RichTextBox
Namespace: GrapeCity.ActiveReports.SectionReportModel
Assembly: MESCIUS.ActiveReports.dll
Syntax
[DefaultSize(3, 1.5)]
public sealed class RichTextBox : ARControl, IComponent, IDisposable, IPersistControl

Constructors

Name Description
RichTextBox()

Initializes a new instance of the RichTextBox class.

Properties

Name Description
AutoReplaceFields

Gets or sets a value that indicates whether ActiveReports should automatically replace fields in the RichTextBox with matching fields in the data source.

BackColor

Gets or sets the control's background color or fill color.

BulletIndent

Gets or sets the indentation used in the control when the bullet style is applied to the text. For design time use only.

CanGrow

Determines whether ActiveReports should increase the height of the control based on its content.

CanShrink

Determines whether ActiveReports should decrease the height of the field based on its value.

ControlType
ForeColor

Gets or sets the foreground selection color of the control. For design time use only.

Html

Sets or returns the hypertext to be rendered in the control.

HtmlItem
MaxLength

Gets or sets the maximum number of characters in the control. For design time use only.

RTF

Gets or sets the rich text content of the control.

RenderRtfAsContinuousImage

If set to true, then the content will be rendered as one continuous image and then split across the pages. This property is actual only if RtfRenderingType is set to either Metafile or PNG.

RtfRenderingType

Gets or sets target rendering type of RTF (not HTML). As legacy RTF or as WordPad-like image (metafile or raster image).

Text

Gets or sets the current text in the RichTextBox.

Methods

Name Description
Clear()

Clears the content of the RichTextBox control.

Dispose(bool)

Releases unmanaged and - optionally - managed resources.

GetControlBounds(PointF, float, float)
Load(Stream, RichTextType)

Loads a stream of Rtf, Text or Html file.

QuickLoad(BinaryReader)

Loads the control from specified binary reader.

QuickSave(BinaryWriter)

Saves the control to the specified binary writer.

ReadXml(XmlNode)

Reads the control from specified XML node.

WriteXml(XmlElement)

Writes the control as XML to specified XML node.

Extension Methods