Set font and size on Acro Form Fill

Set font and size on Acro Form Fill

Forum member · Nov 16, 2009
We are using the Acro form fill settings to populate some heavily documented forms. However, I didn't see how I could set my font and size as I am filling out the form. For some fields I want to use one font size, and others, a smaller font size. Is this possible, and if so, how would I go about setting it? I saw how to do so if I was adding a new page element, but not if I am editing a form field value.

Re: Set font and size on Acro Form Fill

Support · Nov 17, 2009
Hello, It is not possible to change the font size when filling an existing form field of a PDF document. You can set the font size when creating the fields. You can do form flattening where you can set your font and size again. After this you can not edit the fields again from the viewer. You can refer to the form flattening on our help documentation. You can also add new form fields with desired properties by making the existing fields as read only. Thanks, ceTe Software Support Team.

Re: Set font and size on Acro Form Fill

Forum member · Nov 17, 2009
My issue is spacing. Can I take an existing form wiith acro fields defined, and somehow flatten them, and then overwrite new fields over the top of the existing fields? I know I could add the new fields by defining the X,Y coordinates, but is it possible to place them by referencing the existing location of the just flattened form fields?

Re: Set font and size on Acro Form Fill

Support · Nov 17, 2009
Hello, Yes, you can get the X, Y position of the existing form fields without any problem by using the GetX and GetY methods of the PdfFormField class. You can also get the height and width of the existing fields. So you can add new fields on the current fields. You can refer to the PdfFormField members on our help documentation. Thanks, ceTe Software Support Team.