protected virtual void GenerateDisplayPage(CommunityPageBuilder builder) { builder.SetPageColors(Color.Black, Color.White, Color.Blue, Color.Red); builder.SetPageMargins(new BoxEdges(4, 4, 4, 4)); builder.SetPageWatermark(new Watermark(WatermarkImage, WatermarkPlacement.BottomRight)); builder.SetPageFont("Tahoma", 8f); }
protected virtual Page GenerateDisplayPage() { CommunityPageBuilder builder = new CommunityPageBuilder(); this.GenerateDisplayPage(builder); CommunityPage page = (CommunityPage) builder.CreatePage(typeof(CommunityPage)); page.SetOwner(this); return page; }