[]
Represents a field containing Rich Text Format text (RTF).
public class RtfField : FieldBase, IScriptContextProvider, ICloneable
Public Class RtfField
Inherits FieldBase
Implements IScriptContextProvider, ICloneable
| Name | Description |
|---|---|
| RtfField() | Initializes a new instance of the RtfField class. |
| Name | Description |
|---|---|
| Align | Gets or sets a value indicating how text is aligned within the field. This property is used only if the field's text is not enclosed in RTF begin/end tags "{\rtf1" and "}". |
| DetectUrls | Gets or sets a value indicating whether or not the current field will automatically format Uniform Resource Locators (URLs) when those are found in text. |
| Font | Gets or sets the text font. This property is used only if the field's text is not enclosed in RTF begin/end tags "{\rtf1" and "}". |
| ForeColor | Gets or sets the field's text color. This property is used only if the field's text is not enclosed in RTF begin/end tags "{\rtf1" and "}". |
| Text | Gets or sets the RTF text. |
| Name | Description |
|---|---|
| AfterRender() | Called where report rendering finish. Can be used to finalize object after rendering. |
| AssignFrom(ReportObject, bool) | Copies properties from another object into this object. |
| GetContentAutoHeight(double) | Override this method to calculate the height of object on basis of its content, this method is called when field can grow or shrink vertically. |
| GetContentAutoSize(out double, out double) | Override this method to calculate sizes of object on basis of its content, this method is called when field can grow or shrink vertically and horizontally. |
| GetContentAutoWidth(double) | Override this method to calculate the width of object on basis of its content, this method is called when field can grow or shrink horizontally. |
| GetPropsTable() | |
| GetRtfCode(string, bool) | |
| InitStyle() | Initializes the style for the RTF field. |
| InternalBuildBrick(SubSectionBrick) | This method should be overriden in descendant classes like Field, BarCodeField, ChartField and so on. |
| InternalRefreshBrick(FieldBrickBase) | |
| ResetState() | Called when C1FlexReport starts calculation of the section containing this FieldBase. Resets internal state of the field. |