ActiveReports 9
RichTextBox Class Members
Properties  Methods  Events

The following tables list the members exposed by RichTextBox.

Public Constructors
 NameDescription
Public ConstructorRichTextBox ConstructorInitializes a new instance of the RichTextBox class.  
Top
Public Properties
 NameDescription
Public PropertyAutoReplaceFieldsGets or sets a value that indicates whether ActiveReports should automatically replace fields in the RichTextBox with matching fields in the data source.  
Public PropertyBackColorGets or sets the control's background color or fill color.  
Public PropertyBorderGets a border object that defines the border style for each edge of the control. (Inherited from GrapeCity.ActiveReports.SectionReportModel.ARControl)
Public PropertyBoundsSets or returns a rectangle that defines the location and size of the control in inches. (Inherited from GrapeCity.ActiveReports.SectionReportModel.ARControl)
Public PropertyBulletIndentGets or sets the indentation used in the control when the bullet style is applied to the text.  
Public PropertyCanGrowDetermines whether ActiveReports should increase the height of the control based on its content.  
Public PropertyCanShrinkDetermines whether ActiveReports should decrease the height of the field based on its value.  
Public PropertyDataField

Gets or sets the field name from the data source to bind to the control.

(Inherited from GrapeCity.ActiveReports.SectionReportModel.ARControl)
Public PropertyFontGets or returns the font object used to print the control text. For design time use only.  
Public PropertyForeColorGets or returns the foreground (font) color of the control.  
Public PropertyHeightGets or sets the height of the control in inches. (Inherited from GrapeCity.ActiveReports.SectionReportModel.ARControl)
Public PropertyHtmlSets or returns the hypertext to be rendered in the control.  
Public PropertyLeft

Gets or sets the left position of the control in inches.

(Inherited from GrapeCity.ActiveReports.SectionReportModel.ARControl)
Public PropertyLocationGets or sets the location of the control in inches. (Inherited from GrapeCity.ActiveReports.SectionReportModel.ARControl)
Public PropertyMaxLengthGets or sets the maximum number of characters in the control for the End-User Report Designer.  
Public PropertyMultilineGets or sets a value that determines whether the RichTextBox prints multiple lines or single line.  
Public PropertyNameGets or sets the name of the control. (Inherited from GrapeCity.ActiveReports.SectionReportModel.ARControl)
Public PropertyParentGets a reference to the parent section of the control. (Inherited from GrapeCity.ActiveReports.SectionReportModel.ARControl)
Public PropertyRTFGets or sets the rich text content of the control.  
Public PropertySelectedTextGets or sets the current selected text in the control.  
Public PropertySelectionAlignmentGets or sets the alignment to apply to the current selection or insertion point.  
Public PropertySelectionBackColorGets or sets the background color of the current text selection.  
Public PropertySelectionBulletGets or sets a value indicating whether the bullet style is applied to the current selection.  
Public PropertySelectionCharOffsetGets or sets a value indicating where text in the control appears on the baseline, as a superscript or as a subscript below the baseline.  
Public PropertySelectionColorGets or sets the text color of the current text selection.  
Public PropertySelectionFontGets or sets the font of the current text selection.  
Public PropertySelectionHangingIndent

Gets or sets the distance between the left edge of the first line of text in the selected paragraph and the left edge of subsequent lines in the same paragraph.  Renders the selected text the specified number of inches to the left of the RichTextBox.

 
Public PropertySelectionIndentGets or sets the distance in inches between the left edge of the RichTextBox and the left edge of the current text selection. Renders the selected text the specified number of inches to the right of the RichTextBox.  
Public PropertySelectionLengthGets or sets the number of characters selected in control.  
Public PropertySelectionProtectedTrue if selection is protected.  
Public PropertySelectionRightIndentThe distance (in inches) between the right edge of the RichTextBox control and the right edge of the text that is selected.  
Public PropertySelectionStartGets or sets the starting point of text selected in the text box.  
Public PropertySizeGets or sets the size of the control in inches. (Inherited from GrapeCity.ActiveReports.SectionReportModel.ARControl)
Public PropertyTagGets or sets user-defined information to be persisted with the control. (Inherited from GrapeCity.ActiveReports.SectionReportModel.ARControl)
Public PropertyTextGets or sets the current text in the RichTextBox.  
Public PropertyTopGets or sets, in inches, the top position of the control relative to the section that contains it. (Inherited from GrapeCity.ActiveReports.SectionReportModel.ARControl)
Public PropertyVisibleSets or returns a value indicating whether the control will be printed. (Inherited from GrapeCity.ActiveReports.SectionReportModel.ARControl)
Public PropertyWidthGets or sets the width of the control in inches. (Inherited from GrapeCity.ActiveReports.SectionReportModel.ARControl)
Top
Public Methods
 NameDescription
Public MethodBringToFrontBrings the control to the front of the z-order. (Inherited from GrapeCity.ActiveReports.SectionReportModel.ARControl)
Public MethodClearClears the content of the RichTextBox control.  
Public MethodCompensateForBorder (Inherited from GrapeCity.ActiveReports.SectionReportModel.ARControl)
Public MethodDispose()Releases the control instance from memory. (Inherited from GrapeCity.ActiveReports.SectionReportModel.ARControl)
Public MethodFindOverloaded. Searches for text in the content of the RichTextBox control.  
Public MethodInsertFieldInserts a RichTextBox merge field into the current location in the text.  
Public MethodLoadLoads a stream of Rtf, Text or Html file.  
Public MethodLoadFileOverloaded. Loads an HTML or RTF file.  
Public MethodOnlyForTests_QuickLoad  
Public MethodOnlyForTests_QuickSave  
Public MethodReplaceFieldMerges the contents of the RTF stream with the field values specified.  
Public MethodSendToBackSends the control to the back of the z-order. (Inherited from GrapeCity.ActiveReports.SectionReportModel.ARControl)
Public MethodSetBoundsSets the bounds of the control to the specified rectangle. (Inherited from GrapeCity.ActiveReports.SectionReportModel.ARControl)
Top
Public Events
 NameDescription
Public EventDisposedRaised when the control instance is released from memory. (Inherited from GrapeCity.ActiveReports.SectionReportModel.ARControl)
Public EventOnlyForTests_StateChanged  
Top
See Also

Reference

RichTextBox Class
GrapeCity.ActiveReports.SectionReportModel Namespace

 

 


Copyright © 2016 GrapeCity, inc. All rights reserved

Support Forum