[]
Represents a run of text in a C1PrintDocument. Text is drawn using a single style (see RenderParagraph for multi-style text).
public class RenderText : RenderTextBase, IStyleOwner, IDocumentLocation
Name | Description |
---|---|
RenderText() | Initializes a new instance of the RenderText class. |
RenderText(string) | Initializes a new instance of the RenderText class, assigning the Text property. |
RenderText(string, AlignHorzEnum) | Initializes a new instance of the RenderText class, assigning the Text property, and text alignment. |
RenderText(string, Style) | Initializes a new instance of the RenderText class, assigning the Text property and style. |
RenderText(string, Style, Style) | Initializes a new instance of the RenderText class, assigning the Text property, and the parent styles. |
RenderText(string, Font) | Initializes a new instance of the RenderText class, assigning the Text property and font. |
RenderText(string, Font, AlignHorzEnum) | Initializes a new instance of the RenderText class, assigning the Text property, font and text alignment. |
RenderText(string, Font, Color) | Initializes a new instance of the RenderText class, assigning the Text property, font and text color. |
RenderText(string, Font, Color, AlignHorzEnum) | Initializes a new instance of the RenderText class, assigning the Text property, font, text color and alignment. |
Name | Description |
---|---|
HasText | Gets a value indicating whether the Text property of the current object is not null and has a greater than zero length. |
Text | Gets or sets the text of the current object. |
TextLength | Gets the length of the string returned by the Text property. |
Name | Description |
---|---|
AssignFrom(RenderObject, bool, bool, bool, bool, bool, bool) | Assigns (copies) properties from another RenderObject to the current object.
Calls the base AssignFrom(RenderObject, bool, bool, bool, bool, bool, bool) method.
If |
CreateSame() | Creates new empty RenderText object linked with same C1PrintDocument as current object. |
ShouldSerializeText() | Indicates whether the Text property should be serialized. |