This sample shows how to adjust the baseline of text using Docotic.Pdf library.
Changing the baseline is useful for drawing superscripts or subscripts.
Text rise specifies the distance to move the baseline up or down from its default location. A positive value for the PdfCanvas.TextRise property moves the baseline up, a negative value moves the baseline down.