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

Represents text properties.

Definition

Namespace:Telerik.WinForms.Documents.Core.TextMeasurer

Assembly:Telerik.WinControls.RadSpreadsheet.dll

Syntax:

C#
public class TextProperties

Inheritance: objectTextProperties

Constructors

Initializes a new instance of the TextProperties class.

C#
public TextProperties(string text, double size = 100, SubStringPosition subStringPosition = SubStringPosition.None)
Parameters:textstring

The text.

sizedouble

The size.

subStringPositionSubStringPosition

The sub string position.

Properties

Gets the size.

C#
public double Size { get; }
Property Value:

The size.

Gets the sub string position.

C#
public SubStringPosition SubStringPosition { get; }
Property Value:

The sub string position.

Gets the text.

C#
public string Text { get; }
Property Value:

The text.