Class representing text properties.
||Get the type of this class.
||Set the bold property to the text character.
||Specify that any lowercase characters in this text run are formatted for display only as their capital letter character equivalents.
||Set the text color for the current text run in the RGB format.
||Specify that the contents of this run is displayed with two horizontal lines through each character displayed on the line.
||Set all 4 font slots with the specified font family.
||Set the font size for the characters of the current text run.
||Specify a highlighting color in the RGB format which is applied as a background for the contents of the current run.
||Set the italic property to the text character.
||Specify the languages which will be used to check spelling and grammar (if requested) when processing the contents of this text run.
||Specify the amount by which text is raised or lowered for this run in relation to the default baseline of the surrounding non-positioned text.
||Specify the shading applied to the contents of the current text run.
||Specify that all small letter characters in this text run are formatted for display only as their capital letter character equivalents in a font size two points smaller than the actual font size specified for this text.
||Set text spacing measured in twentieths of a point.
||Specify that the contents of this run are displayed with a single horizontal line through the center of the line.
||The text style base method.
||Specify that the contents of this run are displayed along with a line appearing directly below the character (less than all the spacing above and below the characters on the line).
||Specify the alignment which will be applied to the contents of this run in relation to the default appearance of the run text.
var oDocument = Api.GetDocument();
var oParagraph, oTextPr;
oTextPr = oDocument.GetDefaultTextPr();
oParagraph = oDocument.GetElement(0);
oParagraph.AddText("A sample text with the font size set to 15 points using the text properties.");