I've added a Text Form Field to an Imported PDF. I have the TextAlign property set to Align.Right. When the field is populated with a number, the rightmost digit is being partially cutoff. If I click in the Text Form Field to edit the number, the whole number then shifts slightly to the left and is completely visible. If I then remove focus from the Text Form Field, the number then shifts back slightly to the right and is partially cutoff again.
Do you have a suggestions on how to fix this problem?
Thanks
Text Form Field - TextAlign
Re: Text Form Field - TextAlign
Support · Sep 19, 2008Hello,
We are able to add the text field with right alignment without any problem. Please make sure that you are using the latest build.
Following is the code we used.
Document doc = new Document();
Page page = new Page();
TextField text = new TextField("txt", 10, 10, 100, 20);
text.TextAlign = Align.Right;
text.DefaultValue = "1234123";
page.Elements.Add(text);
doc.Pages.Add(page);
doc.DrawToWeb();
If you are still getting this behavior using the latest build then please send over the PDFs and the code you are using for this to our [^a|mailto:support@cete.com|Support Team^] so that they can look into it further. You can download the latest build from our CustomerArea
by logging in using your current serial number.
Thanks,
ceTe Software Support Team.