New to Telerik UI for WinFormsStart a free 30-day trial

IRadTextBlock

Interface

Definition

Namespace:Telerik.WinForms.Documents.UI.TextBlocks

Assembly:Telerik.WinControls.RadSpreadsheet.dll

Syntax:

C#
public interface IRadTextBlock

Properties

C#
FlowDirection FlowDirection { get; set; }
C#
FontFamily FontFamily { get; set; }
C#
double FontSize { get; set; }
C#
FontStyle FontStyle { get; set; }
C#
FontWeight FontWeight { get; set; }
C#
Color ForegroundColor { get; set; }
C#
double Height { get; set; }
C#
double Left { get; set; }
C#
double LineBaselineOffset { get; set; }
C#
double LineHeight { get; set; }
C#
string Text { get; set; }
C#
TextWrapping TextWrapping { get; set; }
C#
double Top { get; set; }
C#
double Width { get; set; }

Methods

C#
void ClearInlines()
C#
double GetBaselineOffset()
Returns:

double

C#
double GetBaselineRenderingDifference(double lineBaselineOffset)
Parameters:lineBaselineOffsetdoubleReturns:

double

C#
FrameworkElement GetUIElement()
Returns:

FrameworkElement

C#
bool HasInlines()
Returns:

bool

C#
void ReleaseAndClearInlines(ObjectPool pool)
Parameters:poolObjectPool
C#
void SetClip(Rect? rect)
Parameters:rectRect?
C#
void SetInlines(IEnumerable<IRadRun> runs)
Parameters:runsIEnumerable<IRadRun>