I have a couple of paragraphs that are in a text frame. This text comes after a table that may span over multiple pages and it doesn't matter how much of the last page is filled, the text frame is suppose to be at the bottom. This code pretty much gave me what I needed, but if the table goes to the bottom of the page, the text in the text frame and the text in the table overlap.
Code:
var tf = section.AddTextFrame();
tf.Width = "190mm";
tf.Height = "55mm";
tf.RelativeHorizontal = RelativeHorizontal.Page;
tf.RelativeVertical = RelativeVertical.Margin;
tf.Left = ShapePosition.Center;
tf.Top = ShapePosition.Bottom;
I don't mind to even put this text in the footer, but only the footer of the last page, which I have no clue how to do.