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
FormattedText
prototypeFormattedText
|
Fields
prevListType
Declaration
protected FormattedText.HTMLLikeListType prevListType
Field Value
FormattedText.HTMLLikeListType
|
Properties
BaseLine
Gets or sets the baseline.
Declaration
public float BaseLine { get; set; }
Property Value
System.Single
|
BgColor
Gets or sets the background color.
Declaration
public Color? BgColor { get; set; }
Property Value
System.Nullable<System.Drawing.Color>
|
BlockSize
Get or sets the Size of current text block
Declaration
public SizeF BlockSize { get; }
Property Value
System.Drawing.SizeF
|
BulletFontName
Gets or sets the font name of the bullets.
Declaration
public string BulletFontName { get; set; }
Property Value
System.String
|
BulletFontSize
Gets or sets the font size of the bullets.
Declaration
public float BulletFontSize { get; set; }
Property Value
System.Single
|
BulletFontStyle
Gets or sets the font style of the bullets.
Declaration
public FontStyle BulletFontStyle { get; set; }
Property Value
System.Drawing.FontStyle
|
BulletSize
Gets the size of bullets.
Declaration
public SizeF BulletSize { get; }
Property Value
System.Drawing.SizeF
|
ContentAlignment
Gets or sets the content alignment.
Declaration
public ContentAlignment ContentAlignment { get; set; }
Property Value
System.Drawing.ContentAlignment
|
DrawingRectangle
Gets the drawing rectangle.
Declaration
public RectangleF DrawingRectangle { get; }
Property Value
System.Drawing.RectangleF
|
FontColor
Gets or sets the font color.
Declaration
public Color FontColor { get; set; }
Property Value
System.Drawing.Color
|
FontName
Gets or sets the font name.
Declaration
public string FontName { get; set; }
Property Value
System.String
|
FontSize
Get or sets size of the font. Note: recreate the font
Declaration
public float FontSize { get; set; }
Property Value
System.Single
|
FontStyle
Gets or sets the font style.
Declaration
public FontStyle FontStyle { get; set; }
Property Value
System.Drawing.FontStyle
|
HtmlTag
Get or sets HTML tag of the current text block.
Declaration
public string HtmlTag { get; set; }
Property Value
System.String
|
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.Drawing.Image
|
IsClosingTag
Gets or sets a value indicating whether is closing tag.
Declaration
public bool IsClosingTag { get; set; }
Property Value
System.Boolean
|
Link
Gets or sets the link that is opened when the item is clicked.
Declaration
public string Link { get; set; }
Property Value
System.String
|
ListType
Gets or sets the list type.
Declaration
public FormattedText.HTMLLikeListType ListType { get; set; }
Property Value
FormattedText.HTMLLikeListType
|
Number
Gets or sets the number used in ordered list with numbering.
Declaration
public int Number { get; set; }
Property Value
System.Int32
|
Offset
Gets or sets the offset of the text.
Declaration
public int Offset { get; set; }
Property Value
System.Int32
|
OffsetSize
Gest the offset size of the text.
Declaration
public float OffsetSize { get; }
Property Value
System.Single
|
ShouldDisplayBullet
Gets or sets a value indicating whether to display a bullet.
Declaration
public bool ShouldDisplayBullet { get; set; }
Property Value
System.Boolean
|
StartNewLine
Gets or sets a value indicating whether to start a new line.
Declaration
public bool StartNewLine { get; set; }
Property Value
System.Boolean
|
Text
Get or set the text.
Declaration
public string Text { get; set; }
Property Value
System.String
|
Methods
GetTextBlockSize(Boolean, TextFormatFlags)
Gets the size of the text block.
Declaration
public SizeF GetTextBlockSize(bool useCompatibleTextRendering, TextFormatFlags textFormatFlags)
Parameters
System.Boolean
useCompatibleTextRendering
|
System.Windows.Forms.TextFormatFlags
textFormatFlags
|
Returns
System.Drawing.SizeF
|
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.Drawing.RectangleF
paintingRectangle
|
System.Boolean
useCompatibleTextRendering
|
System.Windows.Forms.TextFormatFlags
flags
|
System.Drawing.PointF
currentLineBeginLocation
|
System.Single
lineHeight
|
System.Single
lineBaseLine
|
System.Boolean
clipText
|