Changing text alignment to center.
Fo some reason, the forum search returns 0 results to me no matter what I enter. I'm sure this has been asked before, but how to I change the alignment of point text to center?
Fo some reason, the forum search returns 0 results to me no matter what I enter. I'm sure this has been asked before, but how to I change the alignment of point text to center?
Even though it's point text it's treated the same as area text. The following works
var docRef = app.activeDocument;
var textRef = docRef.textFrames[0];
//textRef.textRange.characterAttributes.size = 28;
var paraAttr_0 = textRef.paragraphs[0].paragraphAttributes;
paraAttr_0.justification = Justification.CENTER;
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.