We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PyPDFForm=1.4.31
Need to create text field aligned to center (optionally right)
new_form.create_widget( widget_type="text", name=id, page_number=1, x=x, y=y, width=w, # optional height=h, # optional #max_length=5, # optional #font="Arial Narrow", # optional font_size=f, # optional #font_color=(1, 0, 0), # optional #bg_color=(0, 0, 1), # optional #border_color=(1, 1, 1), # optional border_width=0 # optional text_align="C" )
filled.pdf
The text was updated successfully, but these errors were encountered:
Hey thanks for posting. This is implemented in the newest version. Give v1.4.32 a try and let me know.
Sorry, something went wrong.
Forgot to mention, the doc for this is also updated: https://chinapandaman.github.io/PyPDFForm/prepare/#create-a-text-field-widget
chinapandaman
Successfully merging a pull request may close this issue.
Version
PyPDFForm=1.4.31
Issue Description
Need to create text field aligned to center (optionally right)
Code Snippet
PDF Form Template
filled.pdf
Screenshots (if applicable)
The text was updated successfully, but these errors were encountered: