public void ParagraphInit(object sender, PDFInitEventArgs args) { (sender as HTMLParagraph).Contents.Add(new Label() { Text = "We are initialized", StyleClass = "block" }); args.Context.TraceLog.Add(TraceLevel.Message, "Custom Code", "Initialized the paragraph"); }
public void Initialized(object sender, PDFInitEventArgs args) { Document.Info.Title = "My Title"; }
public void HandlePageInit(object sender, PDFInitEventArgs args) { Assert.IsNotNull(args.Context); Invoked.Add("init"); }
public void DocumentInitialized(object sender, PDFInitEventArgs args) { Results.Add("Controller Document Initialized"); }