Character Subscript

Subscript this character by the amount specified and size.

public void Subscript(float percentageSize, float percentageLowered)

 

Return value

void  

 

Parameters

float percentageSize The size of the subscript character as a percentage of the Character height
float percentageLowered The percentage subscript distance

 

Example

Copy
TextShape text = new TextShape();

Character character = new Character();
character.CharacterUnicode = 'A';
character.Height = 10;
character.FontName = "Arial";
character.FontStyle = FontStyle.Regular;


text.Characters.Add(character);

character = new Character();
character.CharacterUnicode = '2';
character.Height = 10;
character.FontName = "Arial";
character.FontStyle = FontStyle.Regular;

character.Subscript(100, 100);

text.Characters.Add(character);