Class FormattedText
Inheritance
Inherited Members
Namespace: Telerik.WinControls.TextPrimitiveUtils
Assembly: Telerik.WinControls.dll
Syntax
public class FormattedText
Constructors
FormattedText()
Default constructor
Declaration
public FormattedText()
FormattedText(FormattedText)
Copy constructor
Declaration
public FormattedText(FormattedText prototypeFormattedText)
Parameters
Formatted
|
Fields
prevListType
Declaration
protected FormattedText.HTMLLikeListType prevListType
Field Value
Properties
BaseLine
Gets or sets the baseline.
Declaration
public float BaseLine { get; set; }
Property Value
System.
|
BgColor
Gets or sets the background color.
Declaration
public Color? BgColor { get; set; }
Property Value
System.
|
BlockSize
Get or sets the Size of current text block
Declaration
public SizeF BlockSize { get; }
Property Value
System.
|
BulletFontName
Gets or sets the font name of the bullets.
Declaration
public string BulletFontName { get; set; }
Property Value
System.
|
BulletFontSize
Gets or sets the font size of the bullets.
Declaration
public float BulletFontSize { get; set; }
Property Value
System.
|
BulletFontStyle
Gets or sets the font style of the bullets.
Declaration
public FontStyle BulletFontStyle { get; set; }
Property Value
System.
|
BulletSize
Gets the size of bullets.
Declaration
public SizeF BulletSize { get; }
Property Value
System.
|
ContentAlignment
Gets or sets the content alignment.
Declaration
public ContentAlignment ContentAlignment { get; set; }
Property Value
System.
|
DrawingRectangle
Gets the drawing rectangle.
Declaration
public RectangleF DrawingRectangle { get; }
Property Value
System.
|
FontColor
Gets or sets the font color.
Declaration
public Color FontColor { get; set; }
Property Value
System.
|
FontName
Gets or sets the font name.
Declaration
public string FontName { get; set; }
Property Value
System.
|
FontSize
Get or sets size of the font. Note: recreate the font
Declaration
public float FontSize { get; set; }
Property Value
System.
|
FontStyle
Gets or sets the font style.
Declaration
public FontStyle FontStyle { get; set; }
Property Value
System.
|
HtmlTag
Get or sets HTML tag of the current text block.
Declaration
public string HtmlTag { get; set; }
Property Value
System.
|
Image
Get or sets Image for the current text block Current block should be named Image block
Declaration
public Image Image { get; set; }
Property Value
System.
|
IsClosingTag
Gets or sets a value indicating whether is closing tag.
Declaration
public bool IsClosingTag { get; set; }
Property Value
System.
|
Link
Gets or sets the link that is opened when the item is clicked.
Declaration
public string Link { get; set; }
Property Value
System.
|
ListType
Gets or sets the list type.
Declaration
public FormattedText.HTMLLikeListType ListType { get; set; }
Property Value
Number
Gets or sets the number used in ordered list with numbering.
Declaration
public int Number { get; set; }
Property Value
System.
|
Offset
Gets or sets the offset of the text.
Declaration
public int Offset { get; set; }
Property Value
System.
|
OffsetSize
Gest the offset size of the text.
Declaration
public float OffsetSize { get; }
Property Value
System.
|
ShouldDisplayBullet
Gets or sets a value indicating whether to display a bullet.
Declaration
public bool ShouldDisplayBullet { get; set; }
Property Value
System.
|
StartNewLine
Gets or sets a value indicating whether to start a new line.
Declaration
public bool StartNewLine { get; set; }
Property Value
System.
|
Text
Get or set the text.
Declaration
public string Text { get; set; }
Property Value
System.
|
Methods
GetTextBlockSize(Boolean, TextFormatFlags)
Gets the size of the text block.
Declaration
public SizeF GetTextBlockSize(bool useCompatibleTextRendering, TextFormatFlags textFormatFlags)
Parameters
System.
|
System.
|
Returns
System.
|
PaintFormatText(IGraphics, RectangleF, Boolean, TextFormatFlags, PointF, Single, Single, Boolean)
Declaration
public void PaintFormatText(IGraphics graphics, RectangleF paintingRectangle, bool useCompatibleTextRendering, TextFormatFlags flags, PointF currentLineBeginLocation, float lineHeight, float lineBaseLine, bool clipText)
Parameters
IGraphics
graphics
|
System.
|
System.
|
System.
|
System.
|
System.
|
System.
|
System.
|