/// <summary> /// Protected constructor that includes the comparer used to get and set values based on keys /// </summary> /// <param name="doc"></param> /// <param name="comp"></param> /// <param name="comparer"></param> protected PDFArtefactRegistrationSet(PDFLayoutDocument doc, Component comp, IComparer <string> comparer) { if (null == doc) { throw new ArgumentNullException("doc"); } if (null == comp) { throw new ArgumentNullException("comp"); } _doc = doc; _comp = comp; _comparer = comparer; }
private void Doc_LayoutComplete(object sender, PDFLayoutEventArgs args) { layout = args.Context.DocumentLayout; }
// // .ctor // #region public PDFRegistrationArtefactSet(PDFLayoutDocument doc, PDFComponent comp) /// <summary> /// Creates a new instance of a PDFRegistrationArtefactSet /// </summary> /// <param name="doc"></param> /// <param name="comp"></param> public PDFArtefactRegistrationSet(PDFLayoutDocument doc, Component comp) : this(doc, comp, StringComparer.OrdinalIgnoreCase) { }