Skip to content

Instantly share code, notes, and snippets.

@trampster
Last active December 15, 2015 01:29
Show Gist options
  • Save trampster/5180275 to your computer and use it in GitHub Desktop.
Save trampster/5180275 to your computer and use it in GitHub Desktop.
var subscriptTag = new TextTag("SuperScript");
//make the font smaller
subscriptTag.SizePoints = (baseFontSize/2);
//turn on the Rise settings
subscriptTag.RiseSet = true;
//move down
subscriptTag.Rise = -(baseFontSize / 4) * 1024;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment