FormattedText
Definition
Namespace:Telerik.WinControls.TextPrimitiveUtils
Assembly:Telerik.WinControls.dll
Syntax:
public class FormattedText
Inheritance: objectFormattedText
Constructors
Default constructor
public FormattedText()
Copy constructor
public FormattedText(FormattedText prototypeFormattedText)
Fields
protected FormattedText.HTMLLikeListType prevListType
Properties
Gets or sets the font name of the bullets.
public string BulletFontName { get; set; }
Gets or sets the font size of the bullets.
public float BulletFontSize { get; set; }
Gets or sets the font style of the bullets.
public FontStyle BulletFontStyle { get; set; }
Gets the size of bullets.
public SizeF BulletSize { get; }
Gets or sets the content alignment.
public ContentAlignment ContentAlignment { get; set; }
Gets the drawing rectangle.
public RectangleF DrawingRectangle { get; }
Get or sets size of the font. Note: recreate the font
public float FontSize { get; set; }
Get or sets Image for the current text block Current block should be named Image block
public Image Image { get; set; }
Gets or sets a value indicating whether is closing tag.
public bool IsClosingTag { get; set; }
Gets or sets the link that is opened when the item is clicked.
public string Link { get; set; }
Gets or sets the list type.
public FormattedText.HTMLLikeListType ListType { get; set; }
Gets or sets the number used in ordered list with numbering.
public int Number { get; set; }
Gest the offset size of the text.
public float OffsetSize { get; }
Gets or sets a value indicating whether to display a bullet.
public bool ShouldDisplayBullet { get; set; }
Gets or sets a value indicating whether to start a new line.
public bool StartNewLine { get; set; }
Methods
Gets the size of the text block.
public SizeF GetTextBlockSize(bool useCompatibleTextRendering, TextFormatFlags textFormatFlags)
public void PaintFormatText(IGraphics graphics, RectangleF paintingRectangle, bool useCompatibleTextRendering, TextFormatFlags flags, PointF currentLineBeginLocation, float lineHeight, float lineBaseLine, bool clipText)