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

Notification

Icon
Error

Options
Go to last post Go to first unread
richard  
#1 Posted : Thursday, July 11, 2019 5:14:38 AM(UTC)
richard

Rank: Member

Groups: Registered
Joined: 5/9/2019(UTC)
Posts: 10
Australia
Location: Sydney

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
Paul Rayman  
#2 Posted : Thursday, July 11, 2019 5:38:16 AM(UTC)
Paul Rayman

Rank: Administration

Groups: Administrators
Joined: 1/5/2016(UTC)
Posts: 760

Thanks: 1 times
Was thanked: 92 time(s) in 91 post(s)
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
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.