var g = prevPage.TextFrames.GeometricBounds; TextFrame t = newPage.TextFrames.Add(Type.Missing, idLocationOptions.idUnknown, Type.Missing); var geometricBounds = t.GeometricBounds; geometricBounds = g;
t.GeometricBounds = geometricBounds;
The problem is that the new text frame on the new page WILL ACTUALLY be on the PREV PAGE instead of the new page DUE to the geometric bounds. The geometric bounds need to be adjusted so it's on the NEW page BUT same height and width and position/margins. How would I do it?