Hi,
I have a pdf form template having a textarea field with the font set as ‘Courier’. This is used by one of our web application. Another web application needs the same template with ‘TimesRoman’ as the font for the field. I am using the below code to create the new template.
FormEditor form = new FormEditor("c:\Template\Template_Courier.pdf, "c:\Template\Template_Roman.pdf");
facade.Font = FontStyle.TimesRoman;
facade.FontSize = 11F;
facade.Alignment = FormFacade. ??????
form.Facade = facade;
form.DecorateField("Ownercomments");
form.Save();
When data is filled into the textarea field of the newly created template, it aligns it in the center of the textarea field.
I need it aligned on to the top. However the Alignment property above does not seem to have the same.
Attached is the Template i created using the Roman font on the textarea field.
Any ideas on how to achieve the same.
Thanks,
Denny