We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Text of FreeText annotation type is rotated

I have a pdf file with 2 FreeText annotations (1 with horizontally aligned text and 1 with vertically aligned text).
I’m importing these annotations with ImportAnnotationFromXfdf method.

When i don’t specify a licence (using Evaluation) the annotations are imported correctly. When the licence is specified the text of vertical FreeText annotation becomes aligned horizontally.

Any help what can cause this behavior and how to solve it?

Dim StartFile As String = “C:\Test\StartFile.pdf”
Dim AnnotFile As String = “C:\Test\AnnotFile.xfdf”
Dim OutFile As String = “C:\Test_NoLicResult.pdf”
Dim outFile2 As String = “C:\Test_WithLicResult.pdf”
Dim annType As Enum = {AnnotationType.FreeText}

Dim editor As New PdfAnnotationEditor()

Dim fileStream As New FileStream(AnnotFile, FileMode.Create, FileAccess.Write)
editor.ExportAnnotationsXfdf(fileStream, 1, 1, annType)

Dim fileStream2 As New FileStream(AnnotFile, FileMode.Open, FileAccess.Read)
editor.ImportAnnotationFromXfdf(fileStream2, annType)

Dim vLicense As Aspose.Pdf.Kit.License = New Aspose.Pdf.Kit.License

Dim editor2 As New PdfAnnotationEditor()
Dim fileStream3 As New FileStream(AnnotFile, FileMode.Open, FileAccess.Read)
editor2.ImportAnnotationFromXfdf(fileStream3, annType)

Results in attachments.
P.S. same behavior in Aspose.Pdf

Hi Vit,

Thanks for using our products.

have tested the scenario using latest release version of Aspose.Pdf for .NET and I am able to reproduce the same problem when using product in licensed mode. For the
sake of correction, I have logged it in our issue tracking system as
will investigate this issue in details and will keep you updated on the status
of a correction.

We apologize for your inconvenience

Please note that this issue will be resolved in Aspose.Pdf for .NET and we might not be able to fix it in legacy Aspose.Pdf.Kit for .NET.

Hi ,

What is the status on this issue?

Is it fixed? What version of Aspose.PDF includes a fix for this issue?

Hi Vit,

Thanks for your patience.

<span style=“font-size:10.0pt;font-family:“Arial”,“sans-serif”;
color:#333333;background:white”>The development team has been busy resolving
other priority issues and I am afraid the above stated problem is not yet
resolved. Nevertheless, I have requested the development team to share any
possible ETA. As soon as I have some updates regarding its resolution, I would
be more than happy to update you with the status of correction. Please be
patient and spare us little time.<o:p></o:p>

We are sorry for this delay and inconvenience.

Hi Vit,

Thanks for your patience.

I have further discussed with development team and as per our current estimates, we plan to get this issue fixed by Jun-2013 and its resolution will be included in Aspose.Pdf for .NET 8.2.0 which is planned to release in July-2013 (it’s not a promise). We will try our level best to get the problem resolved by said time.

Your patience and comprehension is greatly appreciated in this regard.

Please prioritize this, we have customers crying out loud to get this fix ASAP!

Hi Vit,

I am in coordination with development team to get the latest information regarding the resolution of PDFNEWNET-34340. As soon as I have some further updates, I will be more than happy to update you with the status of correction. We are sorry for this delay and inconvenience.

Hi Vit,

Thanks for your patience.

am pleased to share that the issue reported earlier has been resolved in latest
release version of Aspose.Pdf for .NET 8.2.0. Please try using the latest
release version and in case the problem still persists or you have any further
query, please feel free to contact.