I am using Aspose.Pdf.Kit 3.4.0.0.
When I use the code below it does not print in the lower right hand of the page, but the text is vertical rather than horizontal.
I am not sure why this is happening, can you explain to me?
Here is the code I am using:
Aspose.Pdf.Kit.License license = new Aspose.Pdf.Kit.License();
license.SetLicense("C:\\users\\Aspose.Total.lic");
string sSource = @"c:\testing\source.pdf";
string sDestination = @"c:\testing\destination.pdf";
PdfFileInfo fileInfo = new PdfFileInfo(strTempDoc);
float height = fileInfo.GetPageHeight(1);
float width = fileInfo.GetPageWidth(1);
//int rotation = fileInfo.GetPageRotation(1); //get the page rotation
PdfFileMend mendor = new PdfFileMend(sSource, sDestination);
FormattedText fTxt = new FormattedText("PdfFileMend testing! 0 rotation. Line 0", new FontColor(0, 200, 0), Aspose.Pdf.Kit.FontStyle.TimesRoman, EncodingType.Winansi, false, 12);
fTxt.AddNewLineText("PdfFileMend testing! 0 rotation. Line 1");
fTxt.AddNewLineText("PdfFileMend testing! 0 rotation. Line 2");
fTxt.AddNewLineText("PdfFileMend testing! 0 rotation. Line 3");
fTxt.AddNewLineText("PdfFileMend testing! 0 rotation. Line 4");
fTxt.AddNewLineText("PdfFileMend testing! 0 rotation. Line 5");
fTxt.AddNewLineText("PdfFileMend testing! 0 rotation. Line 6");
fTxt.AddNewLineText("PdfFileMend testing! 0 rotation. Line 7");
mendor.AddText(fTxt, 1, width - 200, 100, width - 10, 10);
mendor.Close();