logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Post a reply
From:
Message:

Maximum number of characters in each post is: 32767
Bold Italic Underline   Highlight Quote Choose Language for Syntax Highlighting Insert Image Insert an existing Attachment or upload a new File... Create Link   Unordered List Ordered List   Left Justify Center Justify Right Justify   Outdent Indent   More BBCode Tags
Font Color Font Size
Security Image:
Enter The Letters From The Security Image:
  Preview Post Cancel

Last 10 Posts (In reverse order)
Paul Rayman Posted: Thursday, July 11, 2019 2:38:16 AM(UTC)
 
Hi,

Try checking the “Q” entry in the field's dictionary.

Quote:
Q integer (Optional; inheritable) - A code specifying the form of quadding (justification) to be used in displaying the text:
  • 0 Left-justified
  • 1 Centered
  • 2 Right-justified
Default value: 0 (left-justified).


The full description of the acrofom dictionary can be found on page 674 here:
https://www.adobe.com/co...ve/pdf_reference_1-7.pdf
richard Posted: Thursday, July 11, 2019 2:14:38 AM(UTC)
 
Hi Paul,

Is there a reliable way to determine if a text field is centre or right-aligned? All I can think of is the Matrix/Location for the text, but that seems a bit dodgy.

Regards,

Richard