public void ParagraphLoad(object sender, PDFLoadEventArgs args)
 {
     (sender as HTMLParagraph).Contents.Add(new Label()
     {
         Text = "We have loaded", StyleClass = "block"
     });
     args.Context.TraceLog.Add(TraceLevel.Message, "Custom Code", "Loaded the paragraph");
 }
 public void HandlePageLoad(object sender, PDFLoadEventArgs args)
 {
     Assert.IsNotNull(args.Context);
     Invoked.Add("load");
 }
 public void DocumentLoaded(object sender, PDFLoadEventArgs args)
 {
     this.Title.Text = "Set In the Load Event";
     Results.Add("Controller Document Loaded");
 }