How do I center a table in the document?? do I have to hardcode a y value?
Align table
Re: Align table
Support · Apr 2, 2007Hello,
You will have to know the width of the table before hand. Once you know the width, you can find out the width of the page using page.Dimensions.Width and then set the X coordinate of the table accordingly to center it. You do have to specify the X and Y coordinate when defining the table but you can always reset it if required. The height of the table can be dynamic as the table grows by resetting the predefined height equal to GetRequiredHeight().
Thanks,
ceTe Software Support Team