Add Text in an Existing PDF File is always vertically aligned

I’m trying to add text to an existing PDF and the text is always vertically aligned. Is there a way where i can rotate the text horizontally?

I’m attaching 2 PDFs, input and output file and i’m using the following code to add text on existing PDF.
FYI. I’m using version 6.0.9

var input = @“C:\input.PDF”;
var output = @“C:\Output.PDF”;
using (var fs = new FileStream(output, FileMode.Create))
using(var ms = new MemoryStream(File.ReadAllBytes(input)))
using (var asposeDocument = new Document(ms))
{
Page pdfPage = (Page)asposeDocument.Pages[1];
TextBuilder textBuilder = new TextBuilder(pdfPage);
TextFragment textFragment = new TextFragment(“Hello World”);
textFragment.Position = new Position(100, 200);
textFragment.TextState.FontSize = 2;
textFragment.TextState.Font = FontRepository.FindFont(“Arial”);
textBuilder.AppendText(textFragment);
asposeDocument.Save(fs);
}


Hi Balazs,

Thank you for using our products and reporting this issue to us. I managed to reproduce this issue on my side. For the sake of correction, I have logged this issue as PDFNEWNET-33548 in our bug tracking system. Your request has also been linked to the appropriate issue and you will be notified as soon as it is resolved.

We apologize for your inconvenience.

Thanks & Regards,

Guys,

This is not helping. I’m not suppose to find issues in your API. I’m not hired by Aspose as a QA engineer.
We’ve purchased your product and its not doing what it suppose to do.
Your turn around time is very slow and i cannot wait for you guys to fix all the bugs and release a new version of API. Our release is on hold because of ASPOSE API. How are you releasing your product with so many bugs which is not even free?
This is really disappointing and completely unacceptable.
I would not never do business with ASPOSE again.

Hi Balazs,

Thank you for using our products.

I would like to share with you that I have tested the scenario using your provided sample source code and unable to find this issue with other sample documents. This issue is facing with your particular document. However, in order to escalate your issue, I have increased the issue priority to High. Our development team will look into the details of this issue and will keep you updated on the status of correction via this forum thread. Please be patient and spare us sometime to rectify your issue.

We apologize for your inconvenience.

Thanks & Regards,

Hi Balazs,

Thank you for your patience.

I am very pleased to inform you that the issue is resolved by the development team and this issue will be a part of Aspose.Pdf for .NET v7.0 (to be released in May as per our monthly release plan) after following the complete testing and release cycle. Please be patient and we will notify you once the version is available for download.

We apologize for your inconvenience.

Thanks & Regards,

The issues you have found earlier (filed as PDFNEWNET-33548) have been fixed in Aspose.Pdf for .NET 7.0.0.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.