Unable to populate landscape pdf form when the field is configured to be comb of characters

I have a pdf form where I use the Aspose.Pdf.Facades.Form class to populate the fields.




The layout of the form is in landscape so all the fields are being rotated by 90 degrees. Problem was that if the fields are set with the “Comb of x characters” property, all the characters will not be viewable. Please advise.



Here is my code:



Aspose.Pdf.Facades.Form pdfForm = new Aspose.Pdf.Facades.Form();

pdfForm.BindPdf(input.TemplateFilePath);



var doc = XDocument.Load(GenerateStreamFromString(input.XmlContent));



foreach (var child in doc.Element(“Fields”).Element(“Field”).Elements())

{

if (!pdfForm.FieldNames.Contains(child.Name.LocalName))

continue;

//if (pdfForm.GetFieldFacade(child.Name.LocalName).Rotation == 90)



}

// to make all fields as readonly.

pdfForm.FlattenAllFields();

pdfForm.Save(result.FilePath);

Hi Carlson,


Thanks for using our API’s.

As per my understanding, you are facing an issue that if a PDF form is in landscape orientation, when filling the form fields, all the characters inside the form filed are not visible. Can you please share some sample PDF form and the complete code snippet which you are using, so that we can test the scenario in our environment. We are sorry for this inconvenience.