Type Default Read Only Description
[C#]
string

[Visual Basic]
String
"10 0 0 0 0 0 0 0 0 0 0 0 0 0 -1" No The text style as a string.

 

   

Notes
 

Allows you access to the style as a string.

The format of the string must be "size indent charspacing wordspacing linespacing paraspacing justification outline underline strike strike2 bold italic leftmargin ascender". Underline, strike, strike2, bold, italic, and ascender are integers (0 or non-zero for Boolean values); others are floating-point numbers.

 

   

Example
 

The following code.

[C#]
XTextStyle ts = new XTextStyle();
ts.String = "24.5 10 0 0 0 0 0";
Response.Write("Size = " + ts.Size.ToString() + "<br>");
Response.Write("Indent = " + ts.Indent.ToString());

[Visual Basic]
Dim ts As XTextStyle = New XTextStyle()
ts.String = "24.5 10 0 0 0 0 0"
Response.Write("Size = " + ts.Size.ToString() + "<br>")
Response.Write("Indent = " + ts.Indent.ToString())

Produces the following output.

Size = 24.5
Indent = 10