I tried the code below but nothing happens. It works for center and nothing else.
rc.Height = Pdf.MeasureString("test is the longest student name ever", fnt, rc.Width).Height
Dim sf As New StringFormat(StringFormatFlags.DirectionRightToLeft)
'sf.Alignment = StringAlignment.Center
'sf.Alignment = StringAlignment.Near
'sf.Alignment = StringAlignment.Far
Pdf.DrawString("This should be right aligned", bldfnt, Brushes.Black, rc, sf)