Is there any API to find the rotation of the individual characters in a PDF page? How to find the angle of the
individual characters in the document using PDFium?
int charCount = PdfiumViewer.FPDFText_CountChars(textPage);
byte[] characters = new byte[(charCount + 1) * 2];
PdfiumViewer.FPDFText_GetText(textPage, 0, charCount + 1, characters);
string extractedText = string.Empty;
for (int j = 0; j < charCount; j++)
{
uint unicodeCharacter = PdfiumViewer.FPDFText_GetUnicode(textPage, j);
extractedText += ((char)unicodeCharacter).ToString(); // Need to get the rotation angle for the individual text
}