Problem with the move of field

Hi,

We try to move an interactive field with your PDF component. Border and label are not moved but only the content.

Original file (attachment) : IncidentForm.pdf

Final file (attachment) : IncidentForm_processed.pdf

Do you have a solution ?

Hi Fabien,


Can you please share the code snippet which you are using, so that we can test the scenario at our end. We are sorry for this inconvenience.

Code tested :

Dim rect As Aspose.Pdf.Rectangle
Dim pField As Aspose.Pdf.InteractiveFeatures.Forms.Field
Dim pTxt As Aspose.Pdf.InteractiveFeatures.Forms.TextBoxField
pField = GetField(name)

If pField IsNot Nothing Then
pTxt = TryCast(pField, Aspose.Pdf.InteractiveFeatures.Forms.TextBoxField)
If pTxt IsNot Nothing Then
rect = New Aspose.Pdf.Rectangle(pField.Rect.LLX, pField.Rect.LLY - height, pField.Rect.URX, pField.Rect.URY - height)
pTxt.Rect = rect
End If
End If

We have tried with your function MoveField but same result.

Another problem, we can't move all content of a PDF document (created with LiveCycle).

Sample : text, pictures,...

We can't add row to an existing table (except with PDF.Generator but only in a new file).

Hi Fabien,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Sorry for a delay in response.

fabien.violeau:

Code tested :

Dim rect As Aspose.Pdf.Rectangle
Dim pField As Aspose.Pdf.InteractiveFeatures.Forms.Field
Dim pTxt As Aspose.Pdf.InteractiveFeatures.Forms.TextBoxField
pField = GetField(name)

If pField IsNot Nothing Then
pTxt = TryCast(pField, Aspose.Pdf.InteractiveFeatures.Forms.TextBoxField)
If pTxt IsNot Nothing Then
rect = New Aspose.Pdf.Rectangle(pField.Rect.LLX, pField.Rect.LLY - height, pField.Rect.URX, pField.Rect.URY - height)
pTxt.Rect = rect
End If
End If

We have tried with your function MoveField but same result.

I am able to reproduce your mentioned issue after an initial test. Your issue has been registered in our issue tracking system with issue id: PDFNEWNET-34510. We will notify you via this forum thread regarding any updates.

Sorry for the inconvenience,

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


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