View Single Post
  #2  
Old February 18th, 2015, 08:56 AM
step's Avatar
step step is offline
Senior Contributor
 
Join Date: Jan 2010
Location: Charlotte, NC
Posts: 957
Default Re: how to center (or align right) table in textframe? (also QR-question)

Referencing this comment, you could do something like this to align the table to the center:
Code:
var X = myTable.MakeTags().replace(/^\<table/, "<table alignment=center");
On a side note, leading is measured in 10th's of a point so if you're wanting the paragraph tag to have a leading of 1 point, it should be altered to be:
Code:
X += "<p leading=10> ";
__________________
Ste Pennell
FusionPro VDP Creator 9.3.15
Adobe Acrobat X 10.1.1
Mac OS X 10.12

LinkedIn
Reply With Quote