Thanks for the suggestion. In trying to use a Rectangle, I'm finding that even though I choose a fill color, the original text still shows through. I'm currently using violet just so I can see the rectangle on the PDF. Even so, the original Page X of Y from the merged PDf still shows through almost as though the fillcolor is semi-transparent. Am I missing something?
Here is my code:
ceTe.DynamicPDF.PageElements.Rectangle rectangle = new ceTe.DynamicPDF.PageElements.Rectangle(650,0, 70, 15, RgbColor.Black, RgbColor.Violet, 1, LineStyle.Solid);
Template documentTemplate = new Template();
PageNumberingLabel pageNumberingLabel = new PageNumberingLabel("Page %%CP%% of %%TP%%", 0, 0, 715, 32, ceTe.DynamicPDF.Font.Helvetica, 8, ceTe.DynamicPDF.TextAlign.Right, RgbColor.Black);
pageNumberingLabel.PageOffset = -2;
AnchorGroup group = new AnchorGroup(pageNumberingLabel.Width, pageNumberingLabel.Height, Align.Center, VAlign.Bottom);
group.AnchorTo = AnchorTo.Edges;
group.Add(rectangle);
group.Add(pageNumberingLabel);
documentTemplate.Elements.Add(group);
_mergeDoc.Template = documentTemplate;
_mergeDoc.Pages[0].ApplyDocumentTemplate = false;
_mergeDoc.Pages[1].ApplyDocumentTemplate = false;